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

assembly does not honnor <dependencyManagement> directives

    XMLWordPrintableJSON

Details

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

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

              Dates

                Created:
                Updated:
                Resolved: