diff backend/pom.xml @ 9744:b1b48fa7bd80 3.2.x

Include both database drivers in one pom.xml This makes it unnecessary to package for a specific database and makes it possible to connect to both database backends from the same installation (e.g. in a Docker container).
author Tom Gottfried <tom@intevation.de>
date Tue, 30 Aug 2022 14:33:20 +0200
parents 0a5239a1e46e
children 432934cda171
line wrap: on
line diff
--- a/backend/pom.xml	Mon Aug 29 17:10:27 2022 +0200
+++ b/backend/pom.xml	Tue Aug 30 14:33:20 2022 +0200
@@ -160,6 +160,8 @@
       <artifactId>jts</artifactId>
       <version>1.11</version>
     </dependency>
+
+    <!-- database drivers -->
     <dependency>
       <!-- overwrite dependency of postgis-jdbc -->
       <groupId>org.postgresql</groupId>
@@ -185,6 +187,18 @@
       <version>1.1.1</version>
       <scope>runtime</scope>
     </dependency>
+    <dependency>
+      <groupId>com.oracle.database.jdbc</groupId>
+      <artifactId>ojdbc8</artifactId>
+      <version>[19,20)</version>
+      <scope>runtime</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.hibernatespatial</groupId>
+      <artifactId>hibernate-spatial-oracle</artifactId>
+      <version>1.1.1</version>
+      <scope>runtime</scope>
+    </dependency>
   </dependencies>
 
   <repositories>

http://dive4elements.wald.intevation.org