Uploaded image for project: 'Maven WAR Plugin'
  1. Maven WAR Plugin
  2. MWAR-193

Plugin does not handle Axis2 MAR files

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1-beta-1
    • 2.1.1
    • None
    • None

    Description

      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]

      Attachments

        1. ArtifactsPackagingTask.java
          7 kB
          Erlend Mongstad
        2. ArtifactsPackagingTask.java
          7 kB
          Erlend Mongstad

        Activity

          People

            snicoll Stephane Nicoll
            johan Johan Oskarsson
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: