Maven build number plugin, how to save the build number in a file?

后端 未结 4 620
灰色年华
灰色年华 2020-12-24 14:01

I\'ve a Java project using Spring Framework and Git and I wanted to display a build number. I found the Build Number Maven plugin. With Git the build number is a Git hash. I

4条回答
  •  生来不讨喜
    2020-12-24 14:25

    Store it in a filtered properties file. See Using maven to output the version number to a text file

提交回复
热议问题