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

Maven is installing artifacts with the wrong extension and in some cases not even installing artfiacts it should be installing

    XMLWordPrintableJSON

Details

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

    Description

      I have a pom has packaging of jar and it also is using the assembly plugin to attach tar.gz and zip artifacts. Everything is crated in the target directory correctly, but what is installed is no where close to correct. First, the only that is installed is a jar file. However, it isn't the actually built jar file in the target directory, instead it has the contents that were created by the assembly plugin. So, it is actally the zip file installed as a jar file. Therefore, none of the artifacts are installed correctly. I have attached an example pom.

      This seems to be closely related http://jira.codehaus.org/browse/MNG-2426

      Attachments

        1. pom.xml
          2 kB
          Jason Chaffee
        2. assembly.xml
          0.9 kB
          Jason Chaffee

        Activity

          People

            bentmann Benjamin Bentmann
            jchaffee Jason Chaffee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: