[ http://jira.codehaus.org/browse/MWAR-181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg closed MWAR-181. -------------------------------- Resolution: Not A Bug This was a deliberate change between 2.1-alpha-1 and 2.1-alpha-2. From 2.1-alpha-2 onwards <warSourceExcludes> works *only* on the files in the <warSourceDirectory>. To exclude files that are added during the packaging of the WAR you should use this instead: {code:xml} <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes> {code} > warSourceExcludes does not work in 2.1-alpha-2 > ---------------------------------------------- > > Key: MWAR-181 > URL: http://jira.codehaus.org/browse/MWAR-181 > Project: Maven 2.x War Plugin > Issue Type: Bug > Affects Versions: 2.1-alpha-2 > Reporter: Petr Kozelka > Priority: Critical > > we use following configuration to produce jar-less war artifacts, in order to > embed them to EAR: > {{<warSourceExcludes>WEB-INF/lib/*.jar</warSourceExcludes>}} > This does not work with release 2.1-alpha-2. > Switching to 2.1-alpha-1 solves the problem. -- 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