Maven Buildnumber plugin - Git

后端 未结 7 1665
心在旅途
心在旅途 2021-02-02 13:33

The Maven Buildnumber plugin doesn\'t appear to work with GIT yet. Is there a workaround for the time being? I recently switched from SVN to GIT and have found it to be an eas

7条回答
  •  醉酒成梦
    2021-02-02 14:11

    I had problems with getting the ones provided above to work.

    So I wrote my own, which simply executes the git describe and assigns to a property to be used in the MANIFEST.MF.

    See: https://github.com/koekiebox/git-maven-plugin

    Thanks.

提交回复
热议问题