diff --git a/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java b/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java index fd58fc509f..331755838d 100644 --- a/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java +++ b/maven-project/src/main/java/org/apache/maven/project/inheritance/DefaultModelInheritanceAssembler.java @@ -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 ) {