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

后端 未结 4 649
灰色年华
灰色年华 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:22

    The documentation page says that the properties files is stored at ${basedir}/buildNumber.properties, which is created when the buildnumber:create phase is ran.

提交回复
热议问题