[ http://jira.codehaus.org/browse/MNG-415?page=comments#action_39284 ] Brett Porter commented on MNG-415: ----------------------------------
Michal, you've misunderstood how scopes work - please read http://maven.apache.org/maven2/dependencies.html. Only test is excluded from the war, and this is how it already works. Additional measures are needed, because servletapi is a valid compile/runtime jar but should not be bundled because the container always provides it. The EAR stuff such as context roots was already being discussed in the linked issue, MNG-148. > allow exclusion of certain dependencies from inclusion in an archive > -------------------------------------------------------------------- > > Key: MNG-415 > URL: http://jira.codehaus.org/browse/MNG-415 > Project: m2 > Type: Improvement > Components: maven-plugins, maven-archiver > Versions: 2.0-alpha-2 > Reporter: Brett Porter > Fix For: 2.0-alpha-3 > > > this has been requested for WAR, but it should apply to all archives that > include dependencies. -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]