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

dependencySet inside moduleSet/binaries picks up dependencies of other dependencySets

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.1
    • 2.5.1
    • moduleSet
    • None
    • JDK 1.6_27, maven 3.0.2, Eclipse Indigo

    Description

      Inside moduleset-issue.zip is a maven project (including eclipse indigo project files)
      The project has three modules: module-a, module-b and assembler. The assembler module used the assembly plugin with a descriptor.
      You can reproduce the issue by executing "mvn package" for the assembler module and then observing the file moduleset-issue/assebler/target/assembler-0.0.1-SNAPSHOT-bin.zip.

      The objective of the descriptor was to create a zip file with two directories: Directory A would include module-a and its dependencies and directory B would contain module-b and its dependencies.
      What happens is: both directories have all the dependencies.

      Attachments

        1. moduleset-issue.zip
          16 kB
          Carlos Martins
        2. multiproject-modulset-issue.zip
          63 kB
          Ronald Sigmund

        Activity

          People

            krosenvold Kristian Rosenvold
            cemartins Carlos Martins
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: