#5751 remove version numbers from cdmlib-db and some cleanup
[cdmlib.git] / cdmlib-db / pom.xml
index 1c7485dfbc8b05a8af72dd7968e79a876d5a44a4..d2a051ca2e20e32a4adc7f9f80465592cb0e8231 100644 (file)
@@ -3,7 +3,7 @@
   <parent>
     <groupId>eu.etaxonomy</groupId>
     <artifactId>cdmlib-parent</artifactId>
-               <version>4.1.1</version>
+               <version>4.3.0-SNAPSHOT</version>
     <relativePath>../pom.xml</relativePath>
   </parent>
 
   </build>
   <dependencies>
  
+   <dependency>
+      <groupId>com.mchange</groupId>
+      <artifactId>c3p0</artifactId>
+      <version>0.9.5.2</version>
+    </dependency>
+
+    <dependency>
+        <groupId>com.mchange</groupId>
+        <artifactId>mchange-commons-java</artifactId>
+        <!-- mchange-commons-java needs to match the version as defined in the c3p0/pom.xml -->
+        <version>0.2.11</version>
+    </dependency>
+    
 
-     <!-- ******* DATABASES DRIVER ******* -->
+
+    <!-- ******* DATABASES DRIVER ******* -->
       <!-- 
             IMPORTANT:
             Any driver dependency listed here must be excluded from the 
             cdmlib-remote depedency in cdmlib-remote-webapp
        -->
 
-    <!-- For testing only, currently not in use -->
+    <!-- For using cdmlib-db in testing only, currently not in use -->
     <dependency>
       <groupId>org.hsqldb</groupId>
       <artifactId>hsqldb</artifactId>
-      <version>2.3.3</version>
+<!--       <version>2.3.3</version> -->
       <scope>compile</scope>
     </dependency>
-    <!-- SQL Server and Sybase -->
+    
+    <!-- Database drivers -->
 
-     <dependency>
+    <dependency>
       <groupId>mysql</groupId>
       <artifactId>mysql-connector-java</artifactId>
-         <version>5.1.38</version>
+<!--     <version>5.1.38</version> -->
     </dependency>
     <dependency>
       <groupId>org.postgresql</groupId>
       <artifactId>postgresql</artifactId>
-         <version>9.4-1206-jdbc4</version>
+<!--     <version>9.4-1206-jdbc4</version> -->
     </dependency>
     <dependency>
       <groupId>com.h2database</groupId>
       <artifactId>h2</artifactId>
-      <version>1.4.190</version>
+<!--       <version>1.4.190</version> -->
     </dependency>
     <!--for sqlserver2008 and sqlserver2005 and probably higher-->
     <dependency>
       <groupId>com.microsoft.sqlserver</groupId>
       <artifactId>jdbc4</artifactId>
-      <version>2.0</version>
+<!--       <version>2.0</version> -->
     </dependency>
     
     <!-- SQL Server and Sybase -->
     <dependency>
       <groupId>net.sourceforge.jtds</groupId>
       <artifactId>jtds</artifactId>
-         <version>1.3.1</version>
+<!--     <version>1.3.1</version> -->
     </dependency>
     
     <!-- Oracle -->