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

Overridden artifact finalName ist ignored by the war plugin.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.1-alpha-1
    • None
    • None
    • None
    • Maven 2.0.9, JDK 6, WinXP SP2

    Description

      I have a multimodule project.
      groupId: net.fckeditor

      Parent ArtifactId: fckeditor-java
      1. module ArtifactId: java-core; finalName "fckeditor-${artifactId}-${version}" though => e.g. fckeditor-java-core-2.4-SNAPSHOT
      2. module ArtifactId: java-demo; finalName "fckeditor-${artifactId}-${version}" though

      module one is a jar artifact, module 2 a war artifact which has a dependency on module 1.

      the final WAR file contains all dependencies included the java-core but the jar name is not fckeditor-java-core-2.4-SNAPSHOT.jar but java-core-2.4-SNAPSHOT.jar

      An example picture is attached and the project can be checked out at our trac and the SVN directly.

      Attachments

        1. example.png
          90 kB
          Michael Osipov

        Issue Links

          Activity

            People

              Unassigned Unassigned
              michael-o Michael Osipov
              Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: