mirror of https://github.com/apache/maven.git
Set distributionManagement in release pom if it's defined in a parent pom.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280360 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
935dcdf0f7
commit
c6dc853abb
|
@ -983,6 +983,7 @@ public class PrepareReleaseMojo
|
|||
modelToFix.setGroupId( correctModel.getGroupId() );
|
||||
modelToFix.setPackaging( correctModel.getPackaging() );
|
||||
modelToFix.setModules( cloneModules( correctModel.getModules() ) );
|
||||
modelToFix.setDistributionManagement( correctModel.getDistributionManagement() );
|
||||
}
|
||||
|
||||
private static List cloneModules( List modules )
|
||||
|
|
Loading…
Reference in New Issue