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

Assembly plugin's dependency resolution for dependency sets is not inline with maven dependency resolution

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2-beta-4
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      maven 2.2.1

      Description

      Attached is example project which demonstrates faulty dependency resolution. Project has an aggregator module with single child module. Dependency declared in aggregator's POM's dependencyManagement section to be in provided scope, is overriden in child module and set to be in compile scope. Assembly plugin configured in child module seems to treat dependency as in provided scope instead of compile, so it doesn't get included in zip package.

        Attachments

        1. foo.bar.zip
          4 kB
          Stevo Slavić

          Activity

            People

            • Assignee:
              jdcasey John Dennis Casey
              Reporter:
              sslavic Stevo Slavić
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: