summaryrefslogtreecommitdiffstats
path: root/idrop-lite
diff options
context:
space:
mode:
authorLISA STILLWELL <lisa@dhcp152-54-6-218.wireless.europa.renci.org>2012-01-12 18:11:56 (GMT)
committer LISA STILLWELL <lisa@dhcp152-54-6-218.wireless.europa.renci.org>2012-01-12 18:11:56 (GMT)
commit1460ac0de83e202557da80617e45fa535833b4e0 (patch)
treeac8675eece1dbce511c4ad9788958f3bdbebb8ed /idrop-lite
parentf2e432e2af1449a97a7bcad46c259b9cd3c92865 (diff)
downloadQCG-Data-1460ac0de83e202557da80617e45fa535833b4e0.zip
QCG-Data-1460ac0de83e202557da80617e45fa535833b4e0.tar.gz
QCG-Data-1460ac0de83e202557da80617e45fa535833b4e0.tar.bz2
[#596] add unique build version number as first message intrace log
Diffstat (limited to 'idrop-lite')
-rw-r--r--idrop-lite/pom.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/idrop-lite/pom.xml b/idrop-lite/pom.xml
index b5dc08d..e3056de 100644
--- a/idrop-lite/pom.xml
+++ b/idrop-lite/pom.xml
@@ -42,6 +42,35 @@
</dependencies>
<build>
<plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.3</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <phase>generate-sources</phase>
+ <configuration>
+ <tasks>
+ <property name="src.dir" value="${project.build.sourceDirectory}" />
+ <property name="package.dir" value="org/irods/jargon/idrop/lite" />
+ <property name="package.name" value="org.irods.jargon.idrop.lite" />
+ <property name="buildtime" value="${maven.build.timestamp}" />
+
+ <echo file="${src.dir}/${package.dir}/Version.java" message="package ${package.name};${line.separator}" />
+ <echo file="${src.dir}/${package.dir}/Version.java" append="true" message="public final class Version {${line.separator}" />
+ <echo file="${src.dir}/${package.dir}/Version.java" append="true"
+ message=" public static String VERSION=&quot;${buildtime}&quot;;${line.separator}" />
+ <echo file="${src.dir}/${package.dir}/Version.java" append="true" message="}${line.separator}" />
+ <echo message="BUILD ${buildtime}" />
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>