From 6d2edcc80c543290a1695e1eb364ba4ac6c0df1f Mon Sep 17 00:00:00 2001
From: ?? ? <ulysseskao@ximple.com.tw>
Date: Fri, 30 Apr 2010 18:21:18 +0800
Subject: [PATCH] 

---
 xdgnjobs/ximple-jobcarrier/pom.xml |   21 +++++++++++++--------
 1 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/xdgnjobs/ximple-jobcarrier/pom.xml b/xdgnjobs/ximple-jobcarrier/pom.xml
index 1abbe63..f53d185 100644
--- a/xdgnjobs/ximple-jobcarrier/pom.xml
+++ b/xdgnjobs/ximple-jobcarrier/pom.xml
@@ -207,23 +207,28 @@
            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>
-        <!--
+        <artifactId>exec-maven-plugin</artifactId>
+        <version>1.1.1</version>
         <executions>
           <execution>
-            <phase>package</phase>
+            <!--<phase>package</phase> -->
             <goals>
-              <goal>run</goal>
+              <goal>java</goal>
             </goals>
           </execution>
         </executions>
-        -->
         <configuration>
           <mainClass>com.ximple.eofms.XQuartzJobCarrier</mainClass>
           <!--
-          <commandlineArgs>-wizard</commandlineArgs>
+          <commandlineArgs>-Dlog4j.configuration=log4j.properties</commandlineArgs>
           -->
+          <systemProperties>
+            <systemProperty>
+              <key>log4j.configuration</key>
+              <value>log4j.properties</value>
+            </systemProperty>
+          </systemProperties>
         </configuration>
         <!--
         <dependencies>
@@ -282,17 +287,17 @@
       -->
       <resource>
         <directory>src/main/resources</directory>
-        <!--
         <includes>
           <include>log4j.properties</include>
           <include>quartz.properties</include>
           <include>quartz_jobs.xml</include>
         </includes>
-        -->
+        <!--
         <excludes>
           <exclude>log4j.properties</exclude>
           <exclude>quartz_jobs.xml</exclude>
         </excludes>
+        -->
         <!--
         <excludes>
           <exclude>XQuartzJobWizard*.properties</exclude>

--
Gitblit v0.0.0-SNAPSHOT