From 691f856cfa1dd70b0ad7dbbd9f4e32914b9bc157 Mon Sep 17 00:00:00 2001
From: ?? ? <ulysseskao@ximple.com.tw>
Date: Fri, 14 Mar 2008 19:40:25 +0800
Subject: [PATCH] update for EOFM-20

---
 ximple-jobcarrier/pom.xml |   78 +++++++++++++++++++++++++++++++++------
 1 files changed, 66 insertions(+), 12 deletions(-)

diff --git a/ximple-jobcarrier/pom.xml b/ximple-jobcarrier/pom.xml
index d141cca..8ab5412 100644
--- a/ximple-jobcarrier/pom.xml
+++ b/ximple-jobcarrier/pom.xml
@@ -435,16 +435,7 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-surefire-plugin</artifactId>
-          <version>2.2</version>
-          <!-- Current version is 2.3, but it cause the following exception:
-
-                    Running org.geotools.gce.imagepyramid.ImagePyramidReaderTest
-                    Error: Could not find mediaLib accelerator wrapper classes. Continuing in pure Java mode.
-                    Occurs in: com.sun.media.jai.mlib.MediaLibAccessor
-                    java.lang.NoClassDefFoundError: com/sun/medialib/mlib/Image
-                        at com.sun.media.jai.mlib.MediaLibAccessor.setUseMlib(MediaLibAccessor.java:245)
-                        at com.sun.media.jai.mlib.MlibAffineRIF.create(MlibAffineRIF.java:71)
-                    -->
+          <version>2.4.2</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
@@ -493,7 +484,15 @@
           <artifactId>maven-eclipse-plugin</artifactId>
           <version>2.4</version>
         </plugin>
+        <!--
+        <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>exec-maven-plugin</artifactId>
+          <version>1.1-beta-1</version>
+        </plugin>
+        -->
       </plugins>
+
     </pluginManagement>
 
     <!-- http://www.ibiblio.org/maven2/org/apache/maven/wagon/ -->
@@ -511,6 +510,7 @@
       <!--       (activated only on request, jalopy:format)        -->
       <!--     See developer's guide for automated activation      -->
       <!-- ======================================================= -->
+      <!--
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>jalopy-maven-plugin</artifactId>
@@ -526,7 +526,7 @@
           </dependency>
         </dependencies>
       </plugin>
-
+      -->
 
       <!-- ======================================================= -->
       <!--     Compilation.                                        -->
@@ -606,6 +606,7 @@
             </goals>
           </execution>
         </executions>
+        <!--
         <dependencies>
           <dependency>
             <groupId>org.geotools.maven</groupId>
@@ -613,6 +614,7 @@
             <version>${project.version}</version>
           </dependency>
         </dependencies>
+        -->
       </plugin>
 
 
@@ -625,6 +627,7 @@
         <configuration>
           <archive>
             <manifest>
+              <mainClass>com.ximple.eofms.XQuartzJobCarrier</mainClass>
               <addClasspath>true</addClasspath>
             </manifest>
           </archive>
@@ -632,7 +635,7 @@
       </plugin>
 
       <!-- ======================================================= -->
-      <!--     Source packaging.                                      -->
+      <!--     Source packaging.                                   -->
       <!-- ======================================================= -->
       <plugin>
         <inherited>true</inherited>
@@ -651,7 +654,58 @@
         </executions>
       </plugin>
 
+      <!--
+      <plugin>
+        <groupId>org.geotools.maven</groupId>
+        <artifactId>gt2-jar-collector</artifactId>
+        <version>${gt.version}</version>
+        <executions>
+          <execution>
+            <goals>
+              <goal>collect</goal>
+            </goals>
+          </execution>
+        </executions>
+      </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>
 
   <distributionManagement>

--
Gitblit v0.0.0-SNAPSHOT