mirror of https://github.com/apache/maven.git
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:
parent
ec8d262f16
commit
4ae0c23626
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue