Reputation: 659
I'm currently working on automating the build process (more or less) using maven
.
I need to create an rpm but in order to do so, I need to retrieve the latest version. As part of the convention, we're using GIT
's tags to store the version of the system on the master branch.
Unfortunately, buildNumber-maven-plugin is using git show
instead of git describe
and I can't find a suitable configuration for it to work.
How should I configure this thing ?
Upvotes: 1
Views: 380
Reputation: 659
Thanks to @musiKk 's suggestion, I used git-commit-id-plugin
. I had several problems at first because I didn't configure it properly.
Though the plugin is not mature enough, it's getting the job done.
Upvotes: 1