From 2851478f7eee4b91de78e1fd3066fd7fc4ea8bbc Mon Sep 17 00:00:00 2001
From: Jonathan Bauer
Date: Fri, 4 Sep 2015 21:54:21 +0200
Subject: [client] pom.xml: use maven buildnumber plugin to dump the revision
and its timestamp to the jar's manifest
also dump the time the jar was build into the manifest
---
dozentenmodul/pom.xml | 37 ++++++++++++++++++++++++++++++++++---
1 file changed, 34 insertions(+), 3 deletions(-)
(limited to 'dozentenmodul/pom.xml')
diff --git a/dozentenmodul/pom.xml b/dozentenmodul/pom.xml
index 42a16453..f2a709d8 100644
--- a/dozentenmodul/pom.xml
+++ b/dozentenmodul/pom.xml
@@ -9,7 +9,9 @@
DozMod-Client
http://maven.apache.org
-
+
+ scm:git:git://git.openslx.org/openslx-ng/tutor-module.git
+
UTF-8
org.openslx.dozmod.App
@@ -47,12 +49,29 @@
swt-repo
https://raw.githubusercontent.com/maven-eclipse/swt-repo/master/
-
-
+
+ org.codehaus.mojo
+ buildnumber-maven-plugin
+ 1.3
+
+
+ package
+
+ create
+ create-timestamp
+
+
+
+
+ false
+ false
+ revision.timestamp
+
+
org.apache.maven.plugins
maven-compiler-plugin
@@ -78,7 +97,14 @@
${main.class}
+ true
+ true
+
+ ${maven.build.timestamp}
+ ${buildNumber}
+ ${revision.timestamp}
+
jar-with-dependencies
@@ -101,6 +127,11 @@
${main.class}
+
+ ${maven.build.timestamp}
+ ${buildNumber}
+ ${revision.timestamp}
+
--
cgit v1.2.3-55-g7522