[ https://jira.codehaus.org/browse/MWAR-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=283782#comment-283782 ]
yuan commented on MWAR-32: -------------------------- Right now,I have to config the war project <attachClasses>true</attachClasses>,then I build a webapp based on the war project, add these dependencies: <dependency> <groupId>${groupId}</groupId> <artifactId>${artifactId}</artifactId> <version>${version}</version> <type>war</type> </dependency> <dependency> <groupId>${groupId}</groupId> <artifactId>${artifactId}</artifactId> <version>${version}</version> <classifier>classes</classifier> </dependency> > When including a war dependency as per MWAR-8, WEB-INF/lib/*.jar of the war > dependency should be added as <scope>provided</scope> dependencies of the > project. > -------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: MWAR-32 > URL: https://jira.codehaus.org/browse/MWAR-32 > Project: Maven 2.x WAR Plugin > Issue Type: Improvement > Affects Versions: 2.0 > Reporter: Christoffer Hammarström > > When i build a webapp based on another war (as per MWAR-8) which already > includes a lot of jar-files, it would be nice to automatically be able use > those jar-files as dependencies without having to add them to the pom. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira