summaryrefslogtreecommitdiffstats
path: root/dozentenmodulserver/pom.xml
diff options
context:
space:
mode:
authorManuel Bentele2021-07-02 15:32:26 +0200
committerManuel Bentele2021-07-02 15:32:26 +0200
commit875a6ead6923394aacfec280791f8d1dac368296 (patch)
treef805893f6d3aa253c2fa489167b6116c6407ebd6 /dozentenmodulserver/pom.xml
parent[client] Refactor printing of app information from MANIFEST.MF (diff)
downloadtutor-module-875a6ead6923394aacfec280791f8d1dac368296.tar.gz
tutor-module-875a6ead6923394aacfec280791f8d1dac368296.tar.xz
tutor-module-875a6ead6923394aacfec280791f8d1dac368296.zip
[server] Refactor printing of app information from MANIFEST.MF
Diffstat (limited to 'dozentenmodulserver/pom.xml')
-rw-r--r--dozentenmodulserver/pom.xml13
1 files changed, 7 insertions, 6 deletions
diff --git a/dozentenmodulserver/pom.xml b/dozentenmodulserver/pom.xml
index 15c297e9..28ad80b6 100644
--- a/dozentenmodulserver/pom.xml
+++ b/dozentenmodulserver/pom.xml
@@ -16,7 +16,6 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<main.class>org.openslx.bwlp.sat.App</main.class>
- <maven.build.timestamp.format>yyyy.MM.dd HH:mm</maven.build.timestamp.format>
<dozmod.server.master.host>bwlp-masterserver.ruf.uni-freiburg.de</dozmod.server.master.host>
<dozmod.server.master.port>9091</dozmod.server.master.port>
<dozmod.server.master.ssl>true</dozmod.server.master.ssl>
@@ -124,14 +123,16 @@
<phase>package</phase>
<goals>
<goal>create</goal>
- <goal>create-timestamp</goal>
</goals>
</execution>
</executions>
<configuration>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
- <timestampPropertyName>revision.timestamp</timestampPropertyName>
+ <timezone>UTC</timezone>
+ <timestampPropertyName>build.time</timestampPropertyName>
+ <scmBranchPropertyName>revision.branch</scmBranchPropertyName>
+ <buildNumberPropertyName>revision.version</buildNumberPropertyName>
</configuration>
</plugin>
<plugin>
@@ -175,9 +176,9 @@
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
<manifestEntries>
- <Build-Timestamp>${maven.build.timestamp}</Build-Timestamp>
- <Build-Revision>${buildNumber}</Build-Revision>
- <Build-Revision-Timestamp>${revision.timestamp}</Build-Revision-Timestamp>
+ <Build-Timestamp>${build.time}</Build-Timestamp>
+ <Revision-Branch>${revision.branch}</Revision-Branch>
+ <Revision-Version>${revision.version}</Revision-Version>
</manifestEntries>
</archive>
<descriptorRefs>