From c5361940c3f699896591b42a9344c75e17325459 Mon Sep 17 00:00:00 2001 From: John Dennis Casey Date: Thu, 15 Sep 2005 20:09:27 +0000 Subject: [PATCH] Resolving: MNG-880, filling in of null values was using project.model rather than project.originalModel. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289305 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/maven/plugins/release/PrepareReleaseMojo.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PrepareReleaseMojo.java b/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PrepareReleaseMojo.java index dd494d0d29..31036aa29d 100644 --- a/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PrepareReleaseMojo.java +++ b/maven-plugins/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PrepareReleaseMojo.java @@ -827,8 +827,8 @@ public class PrepareReleaseMojo MavenProject releaseProject = new MavenProject( project ); Model releaseModel = releaseProject.getOriginalModel(); - fixNullValueInModel( releaseModel, project.getModel() ); - + fixNullValueInModel( releaseModel, project.getOriginalModel() ); + // Remove parent /* TODO: put this back after it is properly resolved again if ( releaseModel.getParent() != null )