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