From a8578304caa1da21c6691f105ca2e158fe6c3275 Mon Sep 17 00:00:00 2001
From: ?? ? <ulysseskao@ximple.com.tw>
Date: Mon, 10 Mar 2008 11:55:26 +0800
Subject: [PATCH] update for EOFM-8

---
 ximple-dgnio/pom.xml |  114 +++++++++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 99 insertions(+), 15 deletions(-)

diff --git a/ximple-dgnio/pom.xml b/ximple-dgnio/pom.xml
index 7cacdd1..83fb766 100644
--- a/ximple-dgnio/pom.xml
+++ b/ximple-dgnio/pom.xml
@@ -4,9 +4,19 @@
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
           http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
+
+  <properties>
+    <oracle.jdbc>true</oracle.jdbc>
+    <allow.test.skip>true</allow.test.skip>
+    <allow.test.failure.ignore>true</allow.test.failure.ignore>
+    <test.maxHeapSize>512M</test.maxHeapSize>
+    <src.output>${basedir}/target</src.output>
+    <java5>1.5</java5>
+  </properties>
+
   <groupId>com.ximple</groupId>
   <artifactId>ximple-dgnio</artifactId>
-  <packaging>pom</packaging>
+  <packaging>jar</packaging>
   <version>1.0.0-SNAPSHOT</version>
   <name>ximple-dgnio-1.0.x</name>
 
@@ -54,36 +64,108 @@
   <contributors>
   </contributors>
 
+  <!-- =========================================================== -->
+  <!--     Dependency Management                                   -->
+  <!--     If a POM declares one of those dependencies, then it    -->
+  <!--     will use the version specified here. Otherwise, those   -->
+  <!--     dependencies are ignored.                               -->
+  <!-- =========================================================== -->
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>com.vividsolutions</groupId>
+        <artifactId>jts</artifactId>
+        <version>1.9</version>
+      </dependency>
+
+      <!-- Apache -->
+      <dependency>
+        <groupId>commons-collections</groupId>
+        <artifactId>commons-collections</artifactId>
+        <version>3.2</version>
+      </dependency>
+      <dependency>
+        <groupId>commons-pool</groupId>
+        <artifactId>commons-pool</artifactId>
+        <version>1.3</version>
+      </dependency>
+      <dependency>
+        <groupId>commons-logging</groupId>
+        <artifactId>commons-logging</artifactId>
+        <version>1.1.1</version>
+      </dependency>
+      <dependency>
+        <groupId>log4j</groupId>
+        <artifactId>log4j</artifactId>
+        <version>1.2.15</version>  <!-- Same as the dependency in commons-logging -->
+      </dependency>
+      <dependency>
+        <groupId>org.apache.poi</groupId>
+        <artifactId>poi-contrib</artifactId>
+        <version>3.0.1-FINAL</version>
+      </dependency>
+      
+      <!-- ORACLE -->
+      <!-- Download and install into your own repo -->
+      <dependency>
+        <artifactId>ojdbc5</artifactId>
+        <groupId>com.oracle</groupId>
+        <version>11.1.0</version>
+      </dependency>
+
+      <!-- Tests or legacy -->
+      <dependency>
+        <groupId>org.testng</groupId>
+        <artifactId>testng</artifactId>
+        <!--
+        <classifier>jdk15</classifier>
+        <version>5.7</version>
+        -->
+        <version>5.5</version>
+        <scope>test</scope>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+
+  <!-- =========================================================== -->
+  <!--     Dependencies to be inherited by all modules.            -->
+  <!-- =========================================================== -->
   <dependencies>
     <dependency>
-      <groupId>org.vividsolutions</groupId>
+      <groupId>com.vividsolutions</groupId>
       <artifactId>jts</artifactId>
-      <version>1.9</version>
     </dependency>
-    <dependency>
-      <groupId>com.testng</groupId>
-      <artifactId>testng</artifactId>
-      <classifier>jdk15</classifier>
-      <version>5.7</version>
-    </dependency>
+
     <dependency>
       <groupId>commons-collections</groupId>
       <artifactId>commons-collections</artifactId>
-      <version>3.2</version>
     </dependency>
+
+    <!-- Apache -->
     <dependency>
-      <groupId>org.apache.poi</groupId>
-      <artifactId>poi-contrib</artifactId>
-      <version>3.0.1-FINAL</version>
+      <groupId>commons-collections</groupId>
+      <artifactId>commons-collections</artifactId>
     </dependency>
+
     <dependency>
       <groupId>log4j</groupId>
       <artifactId>log4j</artifactId>
-      <version>1.2.15</version>
       <!-- Same as the dependency in commons-logging -->
     </dependency>
-  </dependencies>
 
+    <!-- ORACLE -->
+    <dependency>
+      <artifactId>ojdbc5</artifactId>
+      <groupId>com.oracle</groupId>
+    </dependency>
+
+    <dependency>
+      <groupId>org.testng</groupId>
+      <artifactId>testng</artifactId>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+  
   <!-- =========================================================== -->
   <!--     Build Configuration                                     -->
   <!-- =========================================================== -->
@@ -213,6 +295,7 @@
           <artifactId>jalopy-maven-plugin</artifactId>
           <version>1.0-SNAPSHOT</version>
         </plugin>
+        <!--
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-source-plugin</artifactId>
@@ -221,6 +304,7 @@
             <attach>false</attach>
           </configuration>
         </plugin>
+        -->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-eclipse-plugin</artifactId>

--
Gitblit v0.0.0-SNAPSHOT