简体   繁体   中英

Change spring boot snapshot/build version

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM