mirror of https://github.com/apache/maven.git
[MNG-4239] NoSuchMethodError org.apache.maven.project.inheritance.ModelInheritanceAssembler.assembleModelInheritance(Lorg/apache/maven/model/Model;Lorg/apache/maven/model/Model;)V
o Restored legacy API git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@793910 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1759fb3979
commit
433d4bf3b8
|
@ -176,6 +176,16 @@ public class DefaultModelInheritanceAssembler
|
|||
assembleModelInheritance( dest, source, null, false );
|
||||
}
|
||||
|
||||
public void assembleModelInheritance( Model child, Model parent, String childPathAdjustment )
|
||||
{
|
||||
assembleModelInheritance( child, parent, childPathAdjustment, true );
|
||||
}
|
||||
|
||||
public void assembleModelInheritance( Model child, Model parent )
|
||||
{
|
||||
assembleModelInheritance( child, parent, null, true );
|
||||
}
|
||||
|
||||
private void assembleModelInheritance( Model child, Model parent, String childPathAdjustment, boolean appendPaths )
|
||||
{
|
||||
// cannot inherit from null parent.
|
||||
|
|
|
@ -32,6 +32,10 @@ public interface ModelInheritanceAssembler
|
|||
{
|
||||
String ROLE = ModelInheritanceAssembler.class.getName();
|
||||
|
||||
void assembleModelInheritance( Model child, Model parent, String childPathAdjustment );
|
||||
|
||||
void assembleModelInheritance( Model child, Model parent );
|
||||
|
||||
void assembleBuildInheritance( Build childBuild, Build parentBuild, boolean handleAsInheriance );
|
||||
|
||||
void copyModel( Model dest, Model source );
|
||||
|
|
Loading…
Reference in New Issue