axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sagara Gunathunga (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-5350) Service dependencies are included in webapp
Date Tue, 17 Jul 2012 16:18:35 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-5350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416331#comment-13416331
] 

Sagara Gunathunga  commented on AXIS2-5350:
-------------------------------------------

This is what I get 

[INFO] 
[INFO] --- axis2-aar-maven-plugin:1.7.0-SNAPSHOT:aar (default-aar) @ my-service ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] my-service ........................................ FAILURE [1.006s]
[INFO] my-webapp ......................................... SKIPPED
[INFO] my-root ........................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.472s
[INFO] Finished at: Tue Jul 17 21:43:54 IST 2012
[INFO] Final Memory: 8M/114M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.axis2:axis2-aar-maven-plugin:1.7.0-SNAPSHOT:aar
(default-aar) on project my-service: Error assembling aar: The configured services.xml file
could not be found at/aar-dependency-bug/service/src/main/resources/META-INF/services.xml
-> [Help 1]


I'm not recommend to attach your actual codes but we need a sample test project to reproduce
this issue. Unless you are willing to help us it's very hard to think someone will look into
this issue. 
                
> 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-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message