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:
Brett Leslie Porter 2005-05-18 05:48:37 +00:00
parent 47031c85e1
commit ecde534c5a
1 changed files with 5 additions and 0 deletions

View File

@ -312,6 +312,11 @@ public class DefaultModelInheritanceAssembler
// 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() );