Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.10
-
Fix Version/s: 3.0-beta-1
-
Component/s: POM
-
Labels:None
-
Complexity:Intermediate
-
Testcase included:yes
-
Number of attachments :
Description
ModelUtils.clone(..) uses the ModelInheritanceAssembler under the covers, with assembleAsInheritance == true. This is not strictly true, since inheritance semantics are different in some ways from clone semantics.
This becomes an issue where plugins are concerned, especially when the plugin entry in the POM contains inherited == "false", which will lead to the cloning process excluding that plugin from the clone result.
Attachments
Issue Links
| This issue relates to: | ||||
| MNG-3710 | ModelUtils.cloneModel() and .cloneBuild() pollute existing Plugin instances with merged information |
|
|
|
| This issue is related to: | ||||
| MSOURCES-32 | Usage dependency-plugin with source-plugin causes BUILD ERROR |
|
|
|
| MNG-3539 | Report plugins with inherited=false dropped by profile injector |
|
|
|
test case (unit test patch for ModelUtilsTest in maven-project)