Mercurial > dive4elements > river
comparison backend/pom-oracle.xml @ 9778:b57b236c4f4e 3.2.x
Backed out changeset b1b48fa7bd80
It turns out that, while this works for PostgreSQL/PostGIS,
it does not with Oracle. Hibernatespatial tries to map spatial
types to PostGIS hibernate types in both cases.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 06 Feb 2023 16:57:03 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
9777:f98e5c7775d2 | 9778:b57b236c4f4e |
---|---|
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
3 <modelVersion>4.0.0</modelVersion> | |
4 | |
5 <groupId>org.dive4elements.river</groupId> | |
6 <artifactId>river-backend</artifactId> | |
7 <version>1.0-SNAPSHOT-ora</version> | |
8 <packaging>jar</packaging> | |
9 | |
10 <name>river-backend</name> | |
11 <url>http://maven.apache.org</url> | |
12 | |
13 <properties> | |
14 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
15 </properties> | |
16 | |
17 <build> | |
18 <plugins> | |
19 <plugin> | |
20 <groupId>org.apache.maven.plugins</groupId> | |
21 <artifactId>maven-compiler-plugin</artifactId> | |
22 <version>2.0.2</version> | |
23 <configuration> | |
24 <source>1.7</source> | |
25 <target>1.7</target> | |
26 <encoding>UTF-8</encoding> | |
27 </configuration> | |
28 </plugin> | |
29 <plugin> | |
30 <groupId>org.apache.maven.plugins</groupId> | |
31 <artifactId>maven-dependency-plugin</artifactId> | |
32 <version>2.10</version> | |
33 <executions> | |
34 <execution> | |
35 <id>analyze</id> | |
36 <goals> | |
37 <goal>analyze-only</goal> | |
38 </goals> | |
39 <configuration> | |
40 <failOnWarning>true</failOnWarning> | |
41 <ignoreNonCompile>true</ignoreNonCompile> | |
42 </configuration> | |
43 </execution> | |
44 </executions> | |
45 </plugin> | |
46 <plugin> | |
47 <groupId>org.apache.maven.plugins</groupId> | |
48 <artifactId>maven-jar-plugin</artifactId> | |
49 <version>2.4</version> | |
50 <configuration> | |
51 <archive> | |
52 <manifest> | |
53 <mainClass>org.dive4elements.river.importer.Importer</mainClass> | |
54 <packageName>org.dive4elements.river.importer</packageName> | |
55 </manifest> | |
56 </archive> | |
57 </configuration> | |
58 </plugin> | |
59 <plugin> | |
60 <groupId>org.apache.maven.plugins</groupId> | |
61 <artifactId>maven-shade-plugin</artifactId> | |
62 <version>2.3</version> | |
63 <configuration> | |
64 <transformers> | |
65 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> | |
66 <mainClass>org.dive4elements.river.importer.Importer</mainClass> | |
67 </transformer> | |
68 </transformers> | |
69 </configuration> | |
70 <executions> | |
71 <execution> | |
72 <phase>package</phase> | |
73 <goals> | |
74 <goal>shade</goal> | |
75 </goals> | |
76 </execution> | |
77 </executions> | |
78 </plugin> | |
79 <plugin> | |
80 <artifactId>maven-assembly-plugin</artifactId> | |
81 <configuration> | |
82 <descriptors> | |
83 <descriptor>src/assembly/assembly.xml</descriptor> | |
84 </descriptors> | |
85 </configuration> | |
86 </plugin> | |
87 <plugin> | |
88 <groupId>org.apache.maven.plugins</groupId> | |
89 <artifactId>maven-checkstyle-plugin</artifactId> | |
90 <version>3.0.0</version> | |
91 <configuration> | |
92 <configLocation>../checkstyle.xml</configLocation> | |
93 <encoding>UTF-8</encoding> | |
94 </configuration> | |
95 <executions> | |
96 <execution> | |
97 <id>validate</id> | |
98 <phase>validate</phase> | |
99 <configuration> | |
100 <consoleOutput>true</consoleOutput> | |
101 <failsOnError>true</failsOnError> | |
102 </configuration> | |
103 <goals> | |
104 <goal>check</goal> | |
105 </goals> | |
106 </execution> | |
107 </executions> | |
108 </plugin> | |
109 </plugins> | |
110 </build> | |
111 | |
112 <dependencies> | |
113 <dependency> | |
114 <groupId>org.dive4elements</groupId> | |
115 <artifactId>artifacts-common</artifactId> | |
116 <version>1.0-SNAPSHOT</version> | |
117 </dependency> | |
118 <dependency> | |
119 <!-- Add less unsave version of transitive hibernate dependency --> | |
120 <groupId>commons-collections</groupId> | |
121 <artifactId>commons-collections</artifactId> | |
122 <version>3.2.2</version> | |
123 <scope>runtime</scope> | |
124 </dependency> | |
125 <dependency> | |
126 <groupId>org.hibernate</groupId> | |
127 <artifactId>hibernate-core</artifactId> | |
128 <version>3.6.10.Final</version> | |
129 <exclusions> | |
130 <!-- exclude unsafe transitive dependency --> | |
131 <exclusion> | |
132 <groupId>commons-collections</groupId> | |
133 <artifactId>commons-collections</artifactId> | |
134 </exclusion> | |
135 </exclusions> | |
136 </dependency> | |
137 <dependency> | |
138 <groupId>org.hibernate.javax.persistence</groupId> | |
139 <artifactId>hibernate-jpa-2.0-api</artifactId> | |
140 <version>1.0.1.Final</version> | |
141 </dependency> | |
142 <dependency> | |
143 <groupId>org.apache.logging.log4j</groupId> | |
144 <artifactId>log4j-api</artifactId> | |
145 <version>2.17.1</version> | |
146 </dependency> | |
147 <dependency> | |
148 <groupId>org.apache.logging.log4j</groupId> | |
149 <artifactId>log4j-core</artifactId> | |
150 <version>2.17.1</version> | |
151 <scope>runtime</scope> | |
152 </dependency> | |
153 <dependency> | |
154 <groupId>org.apache.commons</groupId> | |
155 <artifactId>commons-dbcp2</artifactId> | |
156 <version>2.1.1</version> | |
157 </dependency> | |
158 <dependency> | |
159 <groupId>com.vividsolutions</groupId> | |
160 <artifactId>jts</artifactId> | |
161 <version>1.11</version> | |
162 </dependency> | |
163 <dependency> | |
164 <groupId>org.hibernatespatial</groupId> | |
165 <artifactId>hibernate-spatial-oracle</artifactId> | |
166 <version>1.1.1</version> | |
167 <scope>runtime</scope> | |
168 </dependency> | |
169 <dependency> | |
170 <groupId>com.oracle.database.jdbc</groupId> | |
171 <artifactId>ojdbc8</artifactId> | |
172 <version>[19,20)</version> | |
173 <scope>runtime</scope> | |
174 </dependency> | |
175 </dependencies> | |
176 | |
177 <repositories> | |
178 <repository> | |
179 <id>Hibernate Spatial repo</id> | |
180 <url>http://www.hibernatespatial.org/repository</url> | |
181 </repository> | |
182 </repositories> | |
183 </project> |