Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 2.0.4
-
Fix Version/s: None
-
Component/s: Plugins and Lifecycle
-
Labels:None
-
Complexity:Intermediate
-
Testcase included:yes
Description
If both a parent, and a child plugin reference a plugin, the plugin configuration is not merged correctly; instead, the child build ends up with two copies of the plugin (with separate configuration and separate executions).
The attachment contains a testcase demonstrating the problem, and fixes to ModelUtils.java (against current trunk) to fix it.
Issue Links
- duplicates
-
MNG-2237
Inherited plugin executed twice if child pom merges configuration
-
This version of the patch actually includes all the files needed for the testcase...