Class DefaultModelInheritanceAssembler
java.lang.Object
org.apache.maven.project.inheritance.DefaultModelInheritanceAssembler
- All Implemented Interfaces:
ModelInheritanceAssembler
@Component(role=ModelInheritanceAssembler.class)
public class DefaultModelInheritanceAssembler
extends Object
implements ModelInheritanceAssembler
DefaultModelInheritanceAssembler
-
Field Summary
Fields inherited from interface org.apache.maven.project.inheritance.ModelInheritanceAssembler
ROLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
appendPath
(String parentPath, String childPath, String pathAdjustment, boolean appendPaths) void
assembleBuildInheritance
(Build childBuild, Build parentBuild, boolean handleAsInheritance) private void
assembleBuildInheritance
(Model child, Model parent) private void
assembleDependencyInheritance
(Model child, Model parent) private void
assembleDependencyManagementInheritance
(Model child, Model parent) private void
assembleDistributionInheritance
(Model child, Model parent, String childPathAdjustment, boolean appendPaths) void
assembleModelInheritance
(Model child, Model parent) void
assembleModelInheritance
(Model child, Model parent, String childPathAdjustment) private void
assembleModelInheritance
(Model child, Model parent, String childPathAdjustment, boolean appendPaths) private void
assembleReportingInheritance
(Model child, Model parent) private void
assembleScmInheritance
(Model child, Model parent, String childPathAdjustment, boolean appendPaths) private static DeploymentRepository
copyDistributionRepository
(DeploymentRepository parentRepository) void
private static void
mergeExtensionLists
(Build childBuild, Build parentBuild) static void
mergeReportPluginDefinitions
(ReportPlugin child, ReportPlugin parent, boolean handleAsInheritance) private static void
mergeReportPluginLists
(Reporting child, Reporting parent, boolean handleAsInheritance) private static void
mergeReportSetDefinitions
(ReportSet child, ReportSet parent) private static String
resolvePath
(String uncleanPath)
-
Constructor Details
-
DefaultModelInheritanceAssembler
public DefaultModelInheritanceAssembler()
-
-
Method Details
-
assembleBuildInheritance
public void assembleBuildInheritance(Build childBuild, Build parentBuild, boolean handleAsInheritance) - Specified by:
assembleBuildInheritance
in interfaceModelInheritanceAssembler
-
assembleScmInheritance
-
copyModel
- Specified by:
copyModel
in interfaceModelInheritanceAssembler
-
assembleModelInheritance
- Specified by:
assembleModelInheritance
in interfaceModelInheritanceAssembler
-
assembleModelInheritance
- Specified by:
assembleModelInheritance
in interfaceModelInheritanceAssembler
-
assembleModelInheritance
-
assembleDependencyManagementInheritance
-
assembleReportingInheritance
-
mergeReportPluginLists
-
mergeReportSetDefinitions
-
mergeReportPluginDefinitions
public static void mergeReportPluginDefinitions(ReportPlugin child, ReportPlugin parent, boolean handleAsInheritance) -
assembleDependencyInheritance
-
assembleBuildInheritance
-
assembleDistributionInheritance
-
copyDistributionRepository
private static DeploymentRepository copyDistributionRepository(DeploymentRepository parentRepository) -
appendPath
-
resolvePath
-
mergeExtensionLists
-