I'm trying to do something I thought was simple: Stop unique versions of SNAPSHOT builds being created due to space considerations.
So I setup my pom with this:
<distributionManagement>
...
<!--Snapshot deploy repository-->
<snapshotRepository>
<id>maven-general-repo.googlecode.com</id>
<name>General Maven Repo on Google Code</name>
<url>dav:https://general-maven-repo.googlecode.com/svn/maven2/snapshots</url>
<uniqueVersion>false</uniqueVersion>
</snapshotRepository>
...
</distributionManagement>
And then simply run mvn clean deploy
. However the build is still prefixed with -20110305.210936-1
What am I doing wrong here? Is there a tag or switch I'm missing?
Maven version: 3.0.3
maven-deploy-plugin version: --- maven-deploy-plugin:2.5:deploy (default-deploy)
Maven 3 no longer allows you to control this option.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With