Package org.codehaus.mojo.flatten
Class DirectDependenciesInheritanceAssembler
- java.lang.Object
-
- org.apache.maven.model.inheritance.DefaultInheritanceAssembler
-
- org.codehaus.mojo.flatten.DirectDependenciesInheritanceAssembler
-
- All Implemented Interfaces:
org.apache.maven.model.inheritance.InheritanceAssembler
@Singleton @Named public class DirectDependenciesInheritanceAssembler extends org.apache.maven.model.inheritance.DefaultInheritanceAssemblerThe DefaultInheritanceAssembler is encapsulating the InheritanceModelMerger. The only way to override functionality needed is to define an own InheritanceAssembler to provide the needed ModelMerger. The container is providing the InheritanceAssembler. This class will be configured in the META-INF/sisu/javax.inject.Named by the sisu-maven-plugin.see issue https://github.com/mojohaus/flatten-maven-plugin/issues/220
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classDirectDependenciesInheritanceAssembler.DirectDependenciesInheritanceModelMergerInheritanceModelMerger
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringCHILD_DIRECTORYcopied from super implementation because it is privateprivate static java.lang.StringCHILD_DIRECTORY_PROPERTYcopied from super implementation because it is privateprotected FlattenDependencyModeflattenDependencyModeprotected org.apache.maven.model.inheritance.DefaultInheritanceAssembler.InheritanceModelMergermerger
-
Constructor Summary
Constructors Constructor Description DirectDependenciesInheritanceAssembler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidassembleModelInheritance(org.apache.maven.model.Model child, org.apache.maven.model.Model parent, org.apache.maven.model.building.ModelBuildingRequest request, org.apache.maven.model.building.ModelProblemCollector problems)private java.lang.StringgetChildPathAdjustment(org.apache.maven.model.Model child, org.apache.maven.model.Model parent, java.lang.String childDirectory)copied from super implementation because it is private though the adjustment is only for compatibility due to the comment with Maven 2.0
-
-
-
Field Detail
-
merger
protected org.apache.maven.model.inheritance.DefaultInheritanceAssembler.InheritanceModelMerger merger
-
CHILD_DIRECTORY
private static final java.lang.String CHILD_DIRECTORY
copied from super implementation because it is private- See Also:
- Constant Field Values
-
CHILD_DIRECTORY_PROPERTY
private static final java.lang.String CHILD_DIRECTORY_PROPERTY
copied from super implementation because it is private- See Also:
- Constant Field Values
-
flattenDependencyMode
protected FlattenDependencyMode flattenDependencyMode
-
-
Method Detail
-
assembleModelInheritance
public void assembleModelInheritance(org.apache.maven.model.Model child, org.apache.maven.model.Model parent, org.apache.maven.model.building.ModelBuildingRequest request, org.apache.maven.model.building.ModelProblemCollector problems)- Specified by:
assembleModelInheritancein interfaceorg.apache.maven.model.inheritance.InheritanceAssembler- Overrides:
assembleModelInheritancein classorg.apache.maven.model.inheritance.DefaultInheritanceAssembler
-
getChildPathAdjustment
private java.lang.String getChildPathAdjustment(org.apache.maven.model.Model child, org.apache.maven.model.Model parent, java.lang.String childDirectory)copied from super implementation because it is private though the adjustment is only for compatibility due to the comment with Maven 2.0- Parameters:
child-parent-childDirectory-- Returns:
-
-