Maven
  1. Maven
  2. MNG-4276

Plugins with indirect dependency on plexus-utils are stuck with plexus-utils:1.1

    Details

      Description

      To compensate the effect that MNG-2892 would have on bad plugins, a hack was put into the core that automagically injects plexus-utils:1.1 as a direct plugin dependency if the plugin does not already declare a direct dependency on plexus-utils:1.1+. However, only checking the plugin's direct dependencies for plexus-utils ignores any version of plexus-utils that is used by a transitive dependency. This corrupts the runtime class path of the plugin and can result in linkage errors like reported in AW: NPE with maven-changelog-plugin and git.

        Issue Links

          Activity

          Benjamin Bentmann created issue -
          Benjamin Bentmann made changes -
          Field Original Value New Value
          Link This issue is related to MNG-2892 [ MNG-2892 ]
          Benjamin Bentmann made changes -
          Resolution Fixed [ 1 ]
          Fix Version/s 3.0-alpha-3 [ 14719 ]
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Benjamin Bentmann [ bentmann ]
          Benjamin Bentmann made changes -
          Link This issue relates to MNG-4274 [ MNG-4274 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
          Mark Thomas made changes -
          Workflow jira [ 12714608 ] Default workflow, editable Closed status [ 12754289 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
          Mark Thomas made changes -
          Workflow jira [ 12951129 ] Default workflow, editable Closed status [ 12987373 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Closed Closed
          41m 20s 1 Benjamin Bentmann 02/Aug/09 07:01

            People

            • Assignee:
              Benjamin Bentmann
              Reporter:
              Benjamin Bentmann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development