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

Referenced projects' artifacts naming scheme behaves differently when ran from reactor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0
    • None
    • None
    • maven-war-plugin versions 2.0-beta-1 and 2.0-beta-2

    Description

      When running mvn install from a war packaged project, the referenced projects' artifacts are bundled into the WEB-INF/lib directory with the following naming scheme ${groupId}${artifactId}${version}.jar, but when running mvn install as part of the reactor, the referenced projects' artifacts are bundled into the WEB-INF/lib directory with the following naming scheme ${pom.build.finalName}.jar

      The naming scheme should be the same in the two situations for the sake of consistency, but also to avoid the disturbing (for the end user) situation where you end up having the same dependencies present twice with different names.

      Attachments

        1. MWAR-7-maven-war-plugin.patch
          2 kB
          Maria Odea B. Ching

        Issue Links

          Activity

            People

              oching Maria Odea B. Ching
              cedricvidal Cédric Vidal
              Votes:
              4 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 10h
                  10h
                  Remaining:
                  Time Spent - 8h Remaining Estimate - 2h
                  2h
                  Logged:
                  Time Spent - 8h Remaining Estimate - 2h
                  8h