[
https://issues.apache.org/jira/browse/AXIS2-5350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Auke Schrijnen updated AXIS2-5350:
----------------------------------
Attachment: aar-dependency-bug.zip
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: [email protected]
For additional commands, e-mail: [email protected]