summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-04-10 22:12:32 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2012-04-10 22:12:32 +0200
commit7e5918f9711a5c216bef365cfea9cf55886904cc (patch)
treed05dfee686ab48142406d45dd20974cacf3ae0c7
parent7b182dfb4bda383479e55427480cdf37f0be261d (diff)
downloadsonarqube-7e5918f9711a5c216bef365cfea9cf55886904cc.tar.gz
sonarqube-7e5918f9711a5c216bef365cfea9cf55886904cc.zip
SONAR-2313 Add the entries "Implementation-Build" (Git revision) and "Build-Time" to plugin manifests
-rw-r--r--pom.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 74c0245285c..0edb565c251 100644
--- a/pom.xml
+++ b/pom.xml
@@ -401,6 +401,15 @@
<groupId>org.codehaus.sonar</groupId>
<artifactId>sonar-packaging-maven-plugin</artifactId>
<extensions>true</extensions>
+ <configuration>
+ <archive>
+ <manifestEntries>
+ <!-- ${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>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>