mirror of https://github.com/apache/maven.git
fix bug I introduced
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165090 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bd286bfc46
commit
05ebfd3b91
|
@ -312,9 +312,12 @@ public class DefaultModelInheritanceAssembler
|
|||
Build childBuild = child.getBuild();
|
||||
Build parentBuild = parent.getBuild();
|
||||
|
||||
if ( parentBuild != null )
|
||||
{
|
||||
if ( childBuild == null )
|
||||
{
|
||||
child.setBuild( new Build() );
|
||||
childBuild = new Build();
|
||||
child.setBuild( childBuild );
|
||||
}
|
||||
// The build has been set but we want to step in here and fill in
|
||||
// values
|
||||
|
@ -371,6 +374,7 @@ public class DefaultModelInheritanceAssembler
|
|||
|
||||
assemblePluginManagementInheritance( childBuild, parentBuild );
|
||||
}
|
||||
}
|
||||
|
||||
private void assembleScmInheritance( Model child, Model parent )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue