mirror of https://github.com/apache/maven.git
inherit the default goal
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170714 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
47031c85e1
commit
ecde534c5a
|
@ -312,6 +312,11 @@ public class DefaultModelInheritanceAssembler
|
||||||
// values
|
// values
|
||||||
// that have not been set by the child.
|
// that have not been set by the child.
|
||||||
|
|
||||||
|
if ( childBuild.getDefaultGoal() == null )
|
||||||
|
{
|
||||||
|
childBuild.setDefaultGoal( parentBuild.getDefaultGoal() );
|
||||||
|
}
|
||||||
|
|
||||||
if ( childBuild.getDirectory() == null )
|
if ( childBuild.getDirectory() == null )
|
||||||
{
|
{
|
||||||
childBuild.setDirectory( parentBuild.getDirectory() );
|
childBuild.setDirectory( parentBuild.getDirectory() );
|
||||||
|
|
Loading…
Reference in New Issue