mirror of
https://github.com/apache/maven.git
synced 2025-02-06 18:18:48 +00:00
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 @@ private void assembleBuildInheritance( Model child, Model parent )
|
||||
// values
|
||||
// that have not been set by the child.
|
||||
|
||||
if ( childBuild.getDefaultGoal() == null )
|
||||
{
|
||||
childBuild.setDefaultGoal( parentBuild.getDefaultGoal() );
|
||||
}
|
||||
|
||||
if ( childBuild.getDirectory() == null )
|
||||
{
|
||||
childBuild.setDirectory( parentBuild.getDirectory() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user