Add inheritance for type.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163030 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2004-09-05 19:02:45 +00:00
parent 984d4644ef
commit 2b4a352630
1 changed files with 6 additions and 0 deletions

View File

@ -65,6 +65,12 @@ public void assembleModelInheritance( Model child, Model parent )
child.setVersion( parent.getVersion() );
}
// type
if ( child.getType() == null )
{
child.setType( parent.getType() );
}
// inceptionYear
if ( child.getInceptionYear() == null )
{