changeset 8771:2bba7f551225

Cleanup backend dependencies.
author Tom Gottfried <tom@intevation.de>
date Fri, 28 Aug 2015 12:55:01 +0200
parents 363016ee831a
children be28bb0c7f50
files backend/pom-oracle.xml backend/pom.xml
diffstat 2 files changed, 33 insertions(+), 40 deletions(-) [+]
line wrap: on
line diff
--- a/backend/pom-oracle.xml	Fri Aug 28 12:44:23 2015 +0200
+++ b/backend/pom-oracle.xml	Fri Aug 28 12:55:01 2015 +0200
@@ -75,25 +75,14 @@
       <version>1.0-SNAPSHOT</version>
     </dependency>
     <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>3.8.1</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>net.sf.opencsv</groupId>
-      <artifactId>opencsv</artifactId>
-      <version>2.0</version>
-    </dependency>
-    <dependency>
       <groupId>org.hibernate</groupId>
       <artifactId>hibernate-core</artifactId>
       <version>3.6.10.Final</version>
     </dependency>
     <dependency>
-      <groupId>org.hibernate</groupId>
-      <artifactId>hibernate-entitymanager</artifactId>
-      <version>3.6.10.Final</version>
+      <groupId>org.hibernate.javax.persistence</groupId>
+      <artifactId>hibernate-jpa-2.0-api</artifactId>
+      <version>1.0.1.Final</version>
     </dependency>
     <dependency>
       <groupId>log4j</groupId>
@@ -106,14 +95,21 @@
       <version>2.1.1</version>
     </dependency>
     <dependency>
-        <groupId>org.hibernatespatial</groupId>
-        <artifactId>hibernate-spatial-oracle</artifactId>
-        <version>1.1.1</version>
+      <groupId>com.vividsolutions</groupId>
+      <artifactId>jts</artifactId>
+      <version>1.11</version>
     </dependency>
     <dependency>
-       <groupId>ojdbc</groupId>
-       <artifactId>ojdbc</artifactId>
-       <version>0</version>
+      <groupId>org.hibernatespatial</groupId>
+      <artifactId>hibernate-spatial-oracle</artifactId>
+      <version>1.1.1</version>
+      <scope>runtime</scope>
+    </dependency>
+    <dependency>
+      <groupId>ojdbc</groupId>
+      <artifactId>ojdbc</artifactId>
+      <version>0</version>
+      <scope>runtime</scope>
     </dependency>
   </dependencies>
 
--- a/backend/pom.xml	Fri Aug 28 12:44:23 2015 +0200
+++ b/backend/pom.xml	Fri Aug 28 12:55:01 2015 +0200
@@ -75,25 +75,14 @@
       <version>1.0-SNAPSHOT</version>
     </dependency>
     <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>3.8.1</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>net.sf.opencsv</groupId>
-      <artifactId>opencsv</artifactId>
-      <version>2.0</version>
-    </dependency>
-    <dependency>
       <groupId>org.hibernate</groupId>
       <artifactId>hibernate-core</artifactId>
       <version>3.6.10.Final</version>
     </dependency>
     <dependency>
-      <groupId>org.hibernate</groupId>
-      <artifactId>hibernate-entitymanager</artifactId>
-      <version>3.6.10.Final</version>
+      <groupId>org.hibernate.javax.persistence</groupId>
+      <artifactId>hibernate-jpa-2.0-api</artifactId>
+      <version>1.0.1.Final</version>
     </dependency>
     <dependency>
       <groupId>log4j</groupId>
@@ -106,20 +95,28 @@
       <version>2.1.1</version>
     </dependency>
     <dependency>
+      <groupId>com.vividsolutions</groupId>
+      <artifactId>jts</artifactId>
+      <version>1.11</version>
+    </dependency>
+    <dependency>
+      <!-- overwrite dependency of postgis-jdbc -->
       <groupId>postgresql</groupId>
       <artifactId>postgresql</artifactId>
       <version>9.1-901-1.jdbc4</version>
       <scope>runtime</scope>
     </dependency>
     <dependency>
-        <groupId>org.hibernatespatial</groupId>
-        <artifactId>hibernate-spatial-postgis</artifactId>
-        <version>1.1</version>
+      <groupId>org.postgis</groupId>
+      <artifactId>postgis-jdbc</artifactId>
+      <version>1.3.3</version>
+      <scope>runtime</scope>
     </dependency>
     <dependency>
-        <groupId>org.postgis</groupId>
-        <artifactId>postgis-jdbc</artifactId>
-        <version>1.3.3</version>
+      <groupId>org.hibernatespatial</groupId>
+      <artifactId>hibernate-spatial-postgis</artifactId>
+      <version>1.1.1</version>
+      <scope>runtime</scope>
     </dependency>
   </dependencies>
 

http://dive4elements.wald.intevation.org