You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "johan lindquist (JIRA)" <ji...@codehaus.org> on 2009/04/22 09:53:45 UTC

[jira] Created: (MWAR-193) Plugin does not handle Axis2 MAR files

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
            Priority: Minor


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

        

[jira] Updated: (MWAR-193) Plugin does not handle Axis2 MAR files

Posted by "Erlend Mongstad (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MWAR-193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erlend Mongstad updated MWAR-193:
---------------------------------

    Attachment: ArtifactsPackagingTask.java

With two small changes in ArtifactsPackagingTask.java the mar-file is copied to WEB-INF/repository/modules.

Note that this only fixes the problem for the WAR-module. Trying to run an axis2-client from eclipse with eg a maven-plugin results in a similar problem: the mar-file doesn't exist on the classpath.

> 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
>            Priority: Minor
>         Attachments: 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

        

[jira] Commented: (MWAR-193) Plugin does not handle Axis2 MAR files

Posted by "Paulo Silva (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MWAR-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=269756#action_269756 ] 

Paulo Silva commented on MWAR-193:
----------------------------------

I did some testing and I found a problem when we have a webapp that uses axis2 at client side + server side. If you deploy the mar files to WEB-INF/modules/ only the server side will work. But if you instead deploy them to WEB-INF/lib/ then both sides will work (client side + server side). I did this test with axis2 v1.5.

To solve this problem I had to patch ArtifactsPackagingTask.java to force the deployement of mar files to WEB-INF/lib/.
I think it would be a good pattern to always deploy artifact dependencies to the lib folder... Maybe there are a few exceptions, but I don't think axis2 mar files are one of them... And IMHO those kind of exceptions should be handled by configuration, when needed.

Can anyone check this out?

Thanks in advance.



> 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.1.1
>
>         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

        

[jira] Work started: (MWAR-193) Plugin does not handle Axis2 MAR files

Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MWAR-193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on MWAR-193 started by Stephane Nicoll.

> 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

        

[jira] Commented: (MWAR-193) Plugin does not handle Axis2 MAR files

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MWAR-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=269759#action_269759 ] 

Dennis Lundberg commented on MWAR-193:
--------------------------------------

Paulo, this sounds like a different issue. Please open a new issue for it in JIRA.

> 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.1.1
>
>         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

        

[jira] Commented: (MWAR-193) Plugin does not handle Axis2 MAR files

Posted by "Erlend Mongstad (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MWAR-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=237648#action_237648 ] 

Erlend Mongstad commented on MWAR-193:
--------------------------------------

You're correct, I've uploaded a new sample-file

> 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
>            Priority: Minor
>         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

        

[jira] Updated: (MWAR-193) Plugin does not handle Axis2 MAR files

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MWAR-193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated MWAR-193:
---------------------------------

    Fix Version/s:     (was: 2.2)
                   2.1.1

> 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.1.1
>
>         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

        

[jira] Updated: (MWAR-193) Plugin does not handle Axis2 MAR files

Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MWAR-193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephane Nicoll updated MWAR-193:
---------------------------------

    Fix Version/s: 2.2

> 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

        

[jira] Commented: (MWAR-193) Plugin does not handle Axis2 MAR files

Posted by "Erlend Mongstad (JIRA)" <ji...@codehaus.org>.
    [ 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

        

[jira] Updated: (MWAR-193) Plugin does not handle Axis2 MAR files

Posted by "Erlend Mongstad (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MWAR-193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erlend Mongstad updated MWAR-193:
---------------------------------

    Attachment: ArtifactsPackagingTask.java

MODULES_PATH = "WEB-INF/modules/"

> 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
>            Priority: Minor
>         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

        

[jira] Commented: (MWAR-193) Plugin does not handle Axis2 MAR files

Posted by "johan lindquist (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MWAR-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=237413#action_237413 ] 

johan lindquist commented on MWAR-193:
--------------------------------------

Should the MAR files not be in WEB-INF/modules?  Or have I missed some late changes?

> 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
>            Priority: Minor
>         Attachments: 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

        

[jira] Commented: (MWAR-193) Plugin does not handle Axis2 MAR files

Posted by "DEG (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MWAR-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=193862#action_193862 ] 

DEG commented on MWAR-193:
--------------------------

Same problem here.

> 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
>            Priority: Minor
>
> 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

        

[jira] Closed: (MWAR-193) Plugin does not handle Axis2 MAR files

Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MWAR-193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephane Nicoll closed MWAR-193.
--------------------------------

    Resolution: Fixed

Applied, thanks.

> 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