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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2-beta-4
    • 2.2
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: