The new way to deal with such situation is described here:
https://maven.apache.org/maven-ci-friendly.html
<properties>
<revision>0-SNAPSHOT</revision>
</properties>
<version>1.2.${revision}</revision>
and let Jenkins run Maven like this mvn deploy
-Drevision=${env.BUILD_NUMBER} (or maybe just $BUILD_NUMBER depending on the
way you run Jenkins)
--
Sent from: http://maven.40175.n5.nabble.com/Maven-Users-f40176.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]