java - Maven - Artifactory: update dependencies with buildNumber -


i have started working @ company use buildnumber concept. open release branch, version set 1.0.2-build1 example.

the next time generate artifact , deploy it, increment number, 1.0.2-build2.

when code ready deploy production environment, eliminate -buildnumber , new tag generated.

if have version 1.2.0-build7 , version 1.2.0 artifacts generated under jfrog artifactory, last version avaiable 1.2.0 maven artifactory, if try use versions plugin update dependency version pom.xml, plugin understand last version 1.2.0-build7 , not last tag generated previusly.

do know how deal situation?. i´m struggling without success.

thanks all!


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -