mirror of https://github.com/apache/maven.git
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:
parent
984d4644ef
commit
2b4a352630
|
@ -65,6 +65,12 @@ public class DefaultModelInheritanceAssembler
|
|||
child.setVersion( parent.getVersion() );
|
||||
}
|
||||
|
||||
// type
|
||||
if ( child.getType() == null )
|
||||
{
|
||||
child.setType( parent.getType() );
|
||||
}
|
||||
|
||||
// inceptionYear
|
||||
if ( child.getInceptionYear() == null )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue