Avoid setting finalName when it conforms to artifactId-version.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290339 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2005-09-20 03:11:59 +00:00
parent ec8d262f16
commit 4ae0c23626
1 changed files with 1 additions and 1 deletions

View File

@ -860,7 +860,7 @@ public class PrepareReleaseMojo
if ( finalName.equals( releaseModel.getArtifactId() + "-" + snapshotVersion ) )
{
releaseModel.getBuild().setFinalName( releaseModel.getArtifactId() + "-" + projectVersion );
releaseModel.getBuild().setFinalName( null );
}
else if ( finalName.indexOf( "SNAPSHOT" ) > -1 )
{