I have a requirement to change the build version in my spring boot application everytime I commit the code. But it should not be by changing the Pom.XML or application.properties file. Can someone please help how can this be achieved.
CodePudding user response:
I have implemented this by using buildnumber maven plugin. It generates the build number automatically which get updated in builder.properties file. So I don’t have to change it manually in Pom.XML everytime.