From c0d043f06e4496c318e16be563681b4213d7d4c7 Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Thu, 23 Jan 2014 22:01:31 +0100 Subject: [PATCH] [New] added version info metadata to agent --- pom.xml | 6 +++++- src/main/resources/componentVersion.properties | 6 ++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/componentVersion.properties diff --git a/pom.xml b/pom.xml index 5e4218c1e..c55d5b9d3 100644 --- a/pom.xml +++ b/pom.xml @@ -48,7 +48,7 @@ ch.eitchnet ch.eitchnet.privilege - + li.strolch li.strolch.testbase @@ -58,6 +58,10 @@ + + org.codehaus.mojo + buildnumber-maven-plugin + org.apache.maven.plugins maven-eclipse-plugin diff --git a/src/main/resources/componentVersion.properties b/src/main/resources/componentVersion.properties new file mode 100644 index 000000000..1f050160f --- /dev/null +++ b/src/main/resources/componentVersion.properties @@ -0,0 +1,6 @@ +groupId=${project.groupId} +artifactId=${project.artifactId} +artifactVersion=${project.version} +scmRevision=r${buildNumber} +scmBranch=${scmBranch} +buildTimestamp=${buildTimestamp} \ No newline at end of file