jira-importer opened a new issue, #174: URL: https://github.com/apache/maven-war-plugin/issues/174
**[Olivier Lamy](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=olamy)** opened **[MWAR-10](https://issues.apache.org/jira/browse/MWAR-10?redirect=false)** and commented I have some trouble with the war plugin. With the following source structure : src/main/web/css (css files) src/main/web/scripts (javascritpts files) src/main/web/jsp (jsp files) src/main/html (static html content) With the following configuration : \<warSourceDirectory implementation="java.io.File">${basedir}/src/main/web\</warSourceDirectory> \<webXml>${basedir}/src/main/resources/war/web.xml\</webXml> \<webappDirectory implementation="java.io.File">${basedir}/webappdir/OTAStats\</webappDirectory> The generated webapp is : ${basedir}/webappdir/OTAStats/css (ok) ${basedir}/webappdir/OTAStats/scripts (ok) ${basedir}/webappdir/OTAStats/jsp (not good my index.jsp is not in the correct directory) ${basedir}/webappdir/OTAStats/html (not good too) My proposal is to add in the mojo (AbstractWarMojo) : jspSourceDirectory/jspOutputDirectory and the same for css, scripts and html. Note in an other use case, the html content is provided by an other artifact. Furthermore, I didn't find any way to add resources (as struts-config files and so on) in the generated WEB-INF directory. maybe, I didn't search enough ;-) If this doesn't exists, I propose to add something : \<webInfContentFolders> \<webInfContentFolder implementation="java.io.File">src/main/resources/struts\</webInfContentFolder> \<webInfContentFolder implementation="java.io.File">src/main/resources/tiles\</webInfContentFolder> \</webInfContentFolders> I don't know if this interest some but It's easy to implement and I can provide a patch. Thanks, - Olivier --- **Attachments:** - [MNG-1669](https://issues.apache.org/jira/secure/attachment/12720535/MNG-1669) (_8.87 kB_) **Issue Links:** - [MNG-1683](https://issues.apache.org/jira/browse/MNG-1683) type zip for packaging ? (_**"is superceded by"**_) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org