Uploaded image for project: 'Maven Assembly Plugin'
  1. Maven Assembly Plugin
  2. MASSEMBLY-393

Cannot Override dependencyManagement

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2-beta-3
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      maven 2.0.9,2.0.10, windows xp, debian gnu linux, solaris 10

      Description

      This was not a problem in 2.2-beta-2.

      I've provided a test case. It should produce a zip file containing log4j-1.2.14.jar but instead contains log4j-1.2.12.jar

      To run the test case:

      unzip my-app.zip
      cd my-app.zip
      mvn clean package

      This is critical for us, because we have a master parent pom where we keep all our versions in a dependencyManagement section, but on occasion we want to override them. Upgrading from 2.2-beta-2 to 2.2-beta-3 broke that ability.

        Attachments

        1. my-app.zip
          2 kB
          deckrider
        2. my-app-pom-packaging.zip
          2 kB
          deckrider

          Issue Links

            Activity

              People

              • Assignee:
                jdcasey John Dennis Casey
                Reporter:
                deckrider deckrider
              • Votes:
                7 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: