[ http://jira.codehaus.org/browse/MWAR-29?page=comments#action_63366 ]
Olivier Lamy commented on MWAR-29: ---------------------------------- Hi, Look at http://jira.codehaus.org/browse/MNG-2097. Maybe this type of feature could help in your case ? Olivier > includes/excludes should extend to generated stuff > -------------------------------------------------- > > Key: MWAR-29 > URL: http://jira.codehaus.org/browse/MWAR-29 > Project: Maven 2.x War Plugin > Type: Improvement > Reporter: Felipe Leme > > > I'm working on a war project where we decided to include some mock classes on > the source directory, so the developers can work on the Structs actions > without worrying with the backend. As such, these classes should not be > included in the 'official' war file (they are only used by the jetty6 plugin). > So, I tried to use the <excludes> configuration to exclude then but failed to > do so. After struggling for a while with the -X option, google and jira, I > realized such configuration only excludes files from the warSource directory > (i.e, the stuff that goes in the web application root, like JSP pages). I've > seen some bug entries regarding filtering resources and the includes/excludes > not working a while ago, but I believe those are other issues... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira