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

assembly does not honnor <dependencyManagement> directives

    XMLWordPrintableJSON

    Details

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

      Description

      My project uses many libs and has <dependencyManagement> set to force commons-logging on version 1.1.1
      I still have commons-logging 1.1 in my assembly targ.gz, (with its dependencies : logkit, avalon ...)
      Forcing a dependency to commons-logging 1.1.1 solves this, but this is just a workaround.

      As the assembly plugin uses "dependencyResolver.resolveDependencies( project, ... " we could expect the dependencyResolver to read the <dependencyManagement>, but this doesn't seem to work as expected.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jdcasey John Dennis Casey
                Reporter:
                ndeloof nicolas de loof
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: