Issue Details (XML | Word | Printable)

Key: MNG-3710
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: John Casey
Reporter: John Casey
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 2 & 3

ModelUtils.cloneModel() and .cloneBuild() pollute existing Plugin instances with merged information

Created: 14/Aug/08 10:29 AM   Updated: 03/Sep/08 04:57 PM   Resolved: 14/Aug/08 02:19 PM
Component/s: Inheritance and Interpolation
Affects Version/s: 2.0.10
Fix Version/s: 2.1.0-M1

Time Tracking:
Not Specified

Issue Links:
Related
 

Complexity: Intermediate


 Description  « Hide

Plugin information that gets merged with handleAsInheritance == false results in pollution of the original Plugin instance by that from the new one. This means pluginManagement specified in a child POM can affect the Plugin instance that's actually declared in the parent POM.



John Casey added a comment - 14/Aug/08 10:31 AM

The fix for this issue will probably influence the behavior of MNG-3700, since the same pieces of code are active in both.