Maven 2 & 3

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

Details

  • Complexity:
    Intermediate
  • Number of attachments :
    0

Description

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.

Issue Links

Activity

Hide
John Casey added a comment -

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

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

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: