From e25c250368509ad6087d03535da01a65ed09706a Mon Sep 17 00:00:00 2001 From: ?? ? <ulysseskao@ximple.com.tw> Date: Mon, 24 Mar 2008 17:15:34 +0800 Subject: [PATCH] update for EOFM-30 --- xdgnjobs/ximple-jobcarrier/pom.xml | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 55 insertions(+), 0 deletions(-) diff --git a/xdgnjobs/ximple-jobcarrier/pom.xml b/xdgnjobs/ximple-jobcarrier/pom.xml index 87aa1c6..828940a 100644 --- a/xdgnjobs/ximple-jobcarrier/pom.xml +++ b/xdgnjobs/ximple-jobcarrier/pom.xml @@ -71,5 +71,60 @@ </dependency> </dependencies> + <build> + <plugins> + <!-- ======================================================= --> + <!-- JAR packaging. --> + <!-- ======================================================= --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <archive> + <manifest> + <mainClass>com.ximple.eofms.XQuartzJobCarrier</mainClass> + <addClasspath>true</addClasspath> + </manifest> + </archive> + </configuration> + </plugin> + <!-- ======================================================= --> + <!-- exec jar. --> + <!-- ======================================================= --> + <plugin> + <!-- + Use maven from the command line: + mvn exec:java -Dexec.mainClass="com.ximple.eofms.XQuartzJobCarrier" + --> + <artifactId>exec-maven-plugin</artifactId> + <groupId>org.codehaus.mojo</groupId> + <!-- + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + --> + <configuration> + <mainClass>com.ximple.eofms.XQuartzJobCarrier</mainClass> + </configuration> + <!-- + <dependencies> + <dependency> + <groupId>com.ximple.eofms</groupId> + <artifactId>ximple-jobcarrier</artifactId> + <version>0.0.1</version> + <type>jar</type> + </dependency> + </dependencies> + --> + </plugin> + </plugins> + <resources> + </resources> + </build> </project> -- Gitblit v0.0.0-SNAPSHOT