[ https://issues.apache.org/jira/browse/AXIS2-5350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416178#comment-13416178 ]
Auke Schrijnen edited comment on AXIS2-5350 at 7/17/12 2:54 PM: ---------------------------------------------------------------- As requested on the mailing list, a sample project. When the root project is build with 'mvn package' the dependency 'commons-lang-2.6.jar' is packed in 'service/target/my-service-1.0.0-SNAPSHOT.aar' (lib/commons-lang-2.6.jar) and in 'webapp/target/my-webapp-1.0.0-SNAPSHOT.war' (WEB-INF/lib/commons-lang-2.6.jar). was (Author: auke): As requested on the mailing list, a sample project. When the root project is build with 'mvn package' the dependency 'commons-lang-2.6.jar' is packed in 'service/target/my-service-1.0.0-SNAPSHOT.aar' (lib/commons-lang-2.6.jar) and in 'webapp/target/my-webapp-1.0.0-SNAPSHOT.war' (WEB-INF/lib/commons-io-1.4.jar). > Service dependencies are included in webapp > ------------------------------------------- > > Key: AXIS2-5350 > URL: https://issues.apache.org/jira/browse/AXIS2-5350 > Project: Axis2 > Issue Type: Bug > Components: Tools > Affects Versions: 1.7.0 > Reporter: Auke Schrijnen > Priority: Minor > Attachments: > 0001-Include-optional-dependencies-in-aar-and-mar-plugin.patch, > aar-dependency-bug.zip > > > When a axis2 service defined as an aar package in maven is used as dependency > in a war webapp project all dependencies of the service are included in the > webapp. There is no way to include the dependencies only in the service > (.aar). > To achieve this, the axis2 aar maven plugin could add optional dependencies, > which are currently ignored (AbstractAarMojo.java @ 180). > This is also the case for the axis2 mar maven plugin. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org