summaryrefslogtreecommitdiffstats
path: root/idrop-swing/pom.xml
diff options
context:
space:
mode:
authormconway <michael.c.conway@gmail.com>2012-10-12 14:02:09 (GMT)
committer mconway <michael.c.conway@gmail.com>2012-10-12 14:02:09 (GMT)
commit59edccf89474c201a4210852c53f19a0a5e00006 (patch)
treeced2d4428047f06fcf93630e10847d2dcf4571cf /idrop-swing/pom.xml
parent0453af6173c5e47ba342d9d9273b48a0ab242f10 (diff)
downloadQCG-Data-59edccf89474c201a4210852c53f19a0a5e00006.zip
QCG-Data-59edccf89474c201a4210852c53f19a0a5e00006.tar.gz
QCG-Data-59edccf89474c201a4210852c53f19a0a5e00006.tar.bz2
[#1023] add Version class in jargon-core, upgrade to grails 2.1
Diffstat (limited to 'idrop-swing/pom.xml')
-rw-r--r--idrop-swing/pom.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/idrop-swing/pom.xml b/idrop-swing/pom.xml
index 175a27e..d203e92 100644
--- a/idrop-swing/pom.xml
+++ b/idrop-swing/pom.xml
@@ -203,6 +203,35 @@
<mainClass>org.irods.jargon.idrop.desktop.systraygui.StartupSequencer</mainClass>
</configuration>
</plugin>
+ <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/desktop/systraygui/utils" />
+ <property name="package.name" value="org.irods.jargon.idrop.desktop.systraygui.utils" />
+ <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;${pom.version}&quot;;${line.separator}" />
+ <echo file="${src.dir}/${package.dir}/Version.java" append="true" message=" public static String BUILD_TIME=&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>
+
</plugins>
</build>
</project>