[ http://jira.codehaus.org/browse/MWAR-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Hobson closed MWAR-228. ---------------------------- Resolution: Not A Bug You're right, thanks! Sorry for the noise, I didn't realise that the behaviour changed by design in 2.1-alpha-2. {{packagingExcludes}} works for me. I should have read: http://maven.apache.org/plugins/maven-war-plugin/examples/skinny-wars.html > [regression] war:war does not exclude jar dependencies from WEB-INF/lib > ----------------------------------------------------------------------- > > Key: MWAR-228 > URL: http://jira.codehaus.org/browse/MWAR-228 > Project: Maven 2.x WAR Plugin > Issue Type: Bug > Affects Versions: 2.1-alpha-2 > Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 20:16:01+0100) > Java version: 1.5.0_22 > Java home: C:\Program Files (x86)\Java\jdk1.5.0_22\jre > Default locale: en_GB, platform encoding: Cp1252 > OS name: "windows 7" version: "6.1" arch: "x86" Family: "windows" > Reporter: Mark Hobson > Attachments: MWAR-228-it.zip > > > {{warSourceExcludes=WEB-INF/lib/*.jar}} should exclude the project's > dependencies from the war. > - {{war:war}} respects this in [2.0.1, 2.1-alpha-1] (broke in 2.0 due to > MWAR-39) > - {{war:exploded}} has never respected this > I'll attach an IT that reproduces the problem with {{war:exploded}}. I > assume that if {{war:exploded}} excludes the jars then {{war:war}} will too? > If not, we'll need another IT for {{war:war}}. -- 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