diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2012-04-10 21:40:19 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2012-04-10 21:40:19 +0200 |
commit | 7b182dfb4bda383479e55427480cdf37f0be261d (patch) | |
tree | 482484c1c0526e2296e1e564315917d25ba8bcd2 /sonar-server/pom.xml | |
parent | fc5ebaadb37ad52dba9aaa03ece813666413ff5a (diff) | |
download | sonarqube-7b182dfb4bda383479e55427480cdf37f0be261d.tar.gz sonarqube-7b182dfb4bda383479e55427480cdf37f0be261d.zip |
Add the entries "Implementation-Build" (Git revision) and "Build-Time" to JAR/WAR manifests.
Note that plugins are not supported yet because of http://jira.codehaus.org/browse/SONAR-3405
Diffstat (limited to 'sonar-server/pom.xml')
-rw-r--r-- | sonar-server/pom.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sonar-server/pom.xml b/sonar-server/pom.xml index ce15518e512..ac291a11f25 100644 --- a/sonar-server/pom.xml +++ b/sonar-server/pom.xml @@ -308,7 +308,10 @@ </warSourceExcludes> <archive> <manifestEntries> - <version>${project.version}</version> + <Version>${project.version}</Version> + <!-- ${buildNumber} is the Git revision. It's generated by the buildnumber-maven-plugin --> + <Implementation-Build>${buildNumber}</Implementation-Build> + <Build-Time>${timestamp}</Build-Time> </manifestEntries> </archive> </configuration> |