aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/pom.xml
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-04-10 21:40:19 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2012-04-10 21:40:19 +0200
commit7b182dfb4bda383479e55427480cdf37f0be261d (patch)
tree482484c1c0526e2296e1e564315917d25ba8bcd2 /sonar-server/pom.xml
parentfc5ebaadb37ad52dba9aaa03ece813666413ff5a (diff)
downloadsonarqube-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.xml5
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>