Hi, On 22/11/18 22:24, Francois MAROT wrote:
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)
Please add the configuration for flatten-maven-plugin to your configuration as described on the mentioned page...
Kind regards Karl Heinz Marbaise --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
