Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.10
-
None
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
Attachments
Issue Links
- is related to
-
MSOURCES-32 Usage dependency-plugin with source-plugin causes BUILD ERROR
- Closed
-
MNG-3539 Report plugins with inherited=false dropped by profile injector
- Closed
- relates to
-
MNG-3710 ModelUtils.cloneModel() and .cloneBuild() pollute existing Plugin instances with merged information
- Closed