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

Module dependencies not included

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2-beta-3
    • 2.5.1
    • moduleSet
    • None
    • Maven version: 2.0.9
      Java version: 1.5.0_09
      OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"

    Description

      Maven assebly plugin 2.2-beta-3 does not include module dependencies, even when the explicit <includeDependencies>true</includeDependencies> is used in assembly descriptor. Maven assebly plugin 2.2-beta-2 did not have this issue.

      See the attached project: running mvn package for the parent project my-app creates a ZIP that contains only my-app-module1-1.0-SNAPSHOT.jar. If assembly plugin 2.2-beta-2 is used (i.e. if one replaces 2.2-beta-3 with 2.2-beta-2 in pom.xml of my-app) then the ZIP also contains my-app-module2-1.0-SNAPSHOT.jar and junit-3.8.1.jar.

      Attachments

        1. my-app.assembly-plugin-2.2.zip
          6 kB
          Jaan Vajakas
        2. my-app.zip
          5 kB
          Jaan Vajakas

        Issue Links

          Activity

            People

              krosenvold Kristian Rosenvold
              jaanvajakas Jaan Vajakas
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: