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:
Emmanuel Venisse 2005-09-12 15:58:21 +00:00
parent 935dcdf0f7
commit c6dc853abb
1 changed files with 1 additions and 0 deletions

View File

@ -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 )