[
http://jira.codehaus.org/browse/MWAR-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=241073#action_241073
]
Erlend Mongstad commented on MWAR-193:
--------------------------------------
I just did some testing with a client side axis2 application on an IBM
WebSphere Application Server and there it only works when the mar-files are
placed in WEB-INF/lib.
According to http://wso2.org/library/182, mar-files must be placed in the same
directory as the axis2 jar-files for a client-side application.
Then I guess ArtifactsPackagingTask should be changed to handle mar-files
similar as jar, ejb, ejbclient and test-jar for a client-side application, but
for server-side applications they should be placed under WEB-INF/lib/modules.
Is there a way to fix this problem?
> Plugin does not handle Axis2 MAR files
> --------------------------------------
>
> Key: MWAR-193
> URL: http://jira.codehaus.org/browse/MWAR-193
> Project: Maven 2.x WAR Plugin
> Issue Type: Improvement
> Affects Versions: 2.1-beta-1
> Environment: Linux 2.6.24-23-generic #1 SMP Wed Apr 1 21:47:28 UTC
> 2009 i686 GNU/Linux
> java version "1.5.0_15"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
> Java HotSpot(TM) Server VM (build 1.5.0_15-b04, mixed mode)
> Reporter: johan lindquist
> Assignee: Stephane Nicoll
> Priority: Minor
> Fix For: 2.2
>
> Attachments: ArtifactsPackagingTask.java, ArtifactsPackagingTask.java
>
>
> When adding a dependency on (for example) Axis2 addressing module
> (addressing-1.41.mar), the war plugin will not place this into the final WAR
> file (in WEB-INF/modules). For Axis2 AAR files, this does work however (it
> is placed in WEB-INF/services), which seem to point to a small inconsistency.
> This is the debug output from the plugin (validation in
> ArtifactsPackagingTask class):
> [DEBUG] Processing: addressing-1.41.mar
> [DEBUG] Artifact of type[mar] is not supported,
> ignoring[org.apache.axis2:addressing:mar:1.41:runtime]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira