Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0-alpha-1
-
Fix Version/s: 3.0-alpha-3
-
Component/s: Class Loading, Plugins and Lifecycle
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
To compensate for MNG-2892, Maven 2.0.6+ automatically injects plexus-utils:1.1 into the plugin class realm if the plugin POM does not declare a (direct) dependency on plexus-utils:1.1+. This backward-compat mode is currently not existent in Maven 3.x.
Even if this break is intentional for 3.x, this issue allows to track it.
Issue Links
- is related to
-
MCHANGELOG-89
Dependency Conflict plexus-utils
-
-
MNG-2892
Use shade to hide the use of plexus-utils internally so that plugins can use their own version
-
It's time to cleanup the codebase so this hack won't be supported any more. For plugins that can't be fixed/upgraded, users can still manually add plexus-utils as a plugin dependency.