Don't use branch name in Git buildnumber.

As we want to build the artifacts from a clean checkout of a tag, we are
in 'detached head' state, without a branch name.

The build number will retain the most important thing for traceability:
the last commit SHA id.
This commit is contained in:
Luc Maisonobe 2014-12-19 10:56:29 +01:00
parent fc7ee95d9c
commit e99c2f8940
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@
<!-- Temporary fix to replace svn-based build number with git-based build number -->
<buildnumber.skip>true</buildnumber.skip>
<math.jgit.buildnumber.version>1.2.8</math.jgit.buildnumber.version>
<implementation.build>${git.branch}-${git.revision}; ${maven.build.timestamp}</implementation.build>
<implementation.build>${git.revision}; ${maven.build.timestamp}</implementation.build>
</properties>