comparison 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
comparison
equal deleted inserted replaced
9743:d1dcb8d28b0d 9744:b1b48fa7bd80
158 <dependency> 158 <dependency>
159 <groupId>com.vividsolutions</groupId> 159 <groupId>com.vividsolutions</groupId>
160 <artifactId>jts</artifactId> 160 <artifactId>jts</artifactId>
161 <version>1.11</version> 161 <version>1.11</version>
162 </dependency> 162 </dependency>
163
164 <!-- database drivers -->
163 <dependency> 165 <dependency>
164 <!-- overwrite dependency of postgis-jdbc --> 166 <!-- overwrite dependency of postgis-jdbc -->
165 <groupId>org.postgresql</groupId> 167 <groupId>org.postgresql</groupId>
166 <artifactId>postgresql</artifactId> 168 <artifactId>postgresql</artifactId>
167 <version>42.0.0.jre7</version> 169 <version>42.0.0.jre7</version>
180 </exclusions> 182 </exclusions>
181 </dependency> 183 </dependency>
182 <dependency> 184 <dependency>
183 <groupId>org.hibernatespatial</groupId> 185 <groupId>org.hibernatespatial</groupId>
184 <artifactId>hibernate-spatial-postgis</artifactId> 186 <artifactId>hibernate-spatial-postgis</artifactId>
187 <version>1.1.1</version>
188 <scope>runtime</scope>
189 </dependency>
190 <dependency>
191 <groupId>com.oracle.database.jdbc</groupId>
192 <artifactId>ojdbc8</artifactId>
193 <version>[19,20)</version>
194 <scope>runtime</scope>
195 </dependency>
196 <dependency>
197 <groupId>org.hibernatespatial</groupId>
198 <artifactId>hibernate-spatial-oracle</artifactId>
185 <version>1.1.1</version> 199 <version>1.1.1</version>
186 <scope>runtime</scope> 200 <scope>runtime</scope>
187 </dependency> 201 </dependency>
188 </dependencies> 202 </dependencies>
189 203

http://dive4elements.wald.intevation.org