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

Assembly plugin does not inherit configuration/execution from parent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.2, 2.2.1
    • 2.4
    • None
    • None

    Description

      This used to work in 2.2-beta-5, but both 2.2 and 2.2.1 seem to ignore attached descriptors in "mvn install"

      Sample project to follow.

      This works:

      mvn -Dass.vers=2.2-beta-5 install -Prc

      This does not:

      mvn -Dass.vers=2.2.1 install -Prc

      If you compare the ouput from the two runs, you will see that the following is missing from 2.2.1:

      [INFO] [assembly:attached

      {execution: default}

      ]
      [INFO] Reading assembly descriptor: src/assembly/bin.xml
      [INFO] Reading assembly descriptor: src/assembly/src.xml
      [INFO] Building zip: D:\maven-tests\assembly-bug\target\assembly-bug-1.0-SNAPSHOT-bin.zip
      [INFO] Building zip: D:\maven-tests\assembly-bug\target\assembly-bug-1.0-SNAPSHOT-src.zip

      Apache Commons cannot use 2.2 or 2.2.1 as a result of this bug

      Attachments

        1. assembly-bug.zip
          6 kB
          sebbasf

        Activity

          People

            dennisl@apache.org Dennis Lundberg
            sebb Sebb
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: