[
https://issues.apache.org/jira/browse/AXIS2-5350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416933#comment-13416933
]
Sagara Gunathunga commented on AXIS2-5350:
-------------------------------------------
This time I managed to build your project.
First, making service dependencies as optional work for me using
1.7.0-SNAPSHOT and 1.6.2 . (i.e - those dependencies included in .aar and
excluded in .war) Also applying provided patch does not make any behavioral
change. Can you look into your project again ?
> 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-v2.zip, 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]