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

assembly misapplies depMgt and selects the wrong dependency for an archive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2-beta-3
    • 2.2
    • None
    • None

    Description

      Here's the setup:

      Parent has a depMgt set to version 1.3.4
      Child has a dependency on 1.3.5

      Assembly descriptor includes this dependency and 1.3.4 is bundled in, not 1.3.5.

      See attached project for a working example. First install the parent, second run package on the child. See the zip contains 1.3.4 instead of 1.3.5.

      Note: The real project where this happened has a property in the depMgt, if you use 2.0.10 this bug seems to not occur because the version is not interpolated in the pom that gets deployed. In 2.2 it is and causes this to manifest in the way I set it up, but fixing the version in the depMgt instead of using the property.

      Attachments

        1. assemblybug.zip
          2 kB
          brianfox

        Issue Links

          Activity

            People

              jdcasey John Dennis Casey
              brianf Brian E Fox
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: