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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -