mirror of https://github.com/apache/maven.git
PR: MNG-664
license should be inherited git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225534 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
24e9ecf4a0
commit
3288b82caa
|
@ -136,6 +136,12 @@ public class DefaultModelInheritanceAssembler
|
|||
child.setDevelopers( parent.getDevelopers() );
|
||||
}
|
||||
|
||||
// licenses
|
||||
if ( child.getLicenses().size() == 0 )
|
||||
{
|
||||
child.setLicenses( parent.getLicenses() );
|
||||
}
|
||||
|
||||
// developers
|
||||
if ( child.getContributors().size() == 0 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue