|
52 | 52 |
|
53 | 53 | <properties> |
54 | 54 | <gt.version>34-SNAPSHOT</gt.version> |
55 | | - <jts.version>1.20.0</jts.version> |
56 | | - <jaiext.version>1.1.31</jaiext.version> |
57 | 55 | <spring.version>5.3.39</spring.version> |
58 | 56 | <spring.security.version>5.7.13</spring.security.version> |
59 | 57 | <xstream.version>1.4.21</xstream.version> |
60 | | - <commons-io.version>2.19.0</commons-io.version> |
61 | | - <commons-dbcp.version>1.4</commons-dbcp.version> |
62 | | - <commons-collections.version>4.4</commons-collections.version> |
63 | 58 | <commons-codec.version>1.18.0</commons-codec.version> |
64 | | - <commons-text.version>1.13.0</commons-text.version> |
65 | 59 | <commons-fileupload.version>1.5</commons-fileupload.version> |
66 | | - <guava.version>33.4.8-jre</guava.version> |
67 | 60 | <hamcrest.version>3.0</hamcrest.version> |
68 | | - <jsr305.version>3.0.1</jsr305.version> |
69 | | - <log4j.version>2.24.3</log4j.version> |
70 | | - <h2.version>1.1.119</h2.version> |
71 | | - <hsql.version>2.7.1</hsql.version> |
72 | | - <postgresql.version>42.7.7</postgresql.version> |
73 | | - <oracle.version></oracle.version> |
74 | 61 | <java.awt.headless>true</java.awt.headless> |
75 | 62 | <jalopy.phase>disabled</jalopy.phase> |
76 | 63 | <jalopy.srcExcludesPattern>disabled</jalopy.srcExcludesPattern> |
77 | 64 | <test.maxHeapSize>64M</test.maxHeapSize> |
78 | 65 | <maven.test.jvmargs></maven.test.jvmargs> |
79 | | - <imageio-ext.version>1.4.15</imageio-ext.version> |
80 | 66 | <hazelcast.version>5.3.8</hazelcast.version> |
81 | 67 | <joda-time.version>2.8.1</joda-time.version> |
82 | 68 | <spotless.action>apply</spotless.action> |
83 | 69 | <spotless.apply.skip>false</spotless.apply.skip> |
84 | 70 | <pom.fmt.action>sort</pom.fmt.action> |
85 | 71 | <pom.fmt.skip>${spotless.apply.skip}</pom.fmt.skip> |
86 | | - <jackson.version>2.19.0</jackson.version> |
87 | | - <jackson.databind.version>${jackson.version}</jackson.databind.version> |
88 | 72 | <jetty.version>9.4.55.v20240627</jetty.version> |
89 | 73 | <errorProneFlags></errorProneFlags> |
90 | 74 | <errorProne.version>2.31.0</errorProne.version> |
|
102 | 86 |
|
103 | 87 | <dependencyManagement> |
104 | 88 | <dependencies> |
| 89 | + <!-- |
| 90 | + Import the GeoTools platform-dependencies BOM to get consistent third-party dependency versions |
| 91 | + Provides managed versions for several libraries across projects, such as jackson, commons-logging/pool/lang3/cli/text/dbcp, |
| 92 | + JTS, guava, imageio-ext, jai-ext, and more. |
| 93 | + --> |
| 94 | + <dependency> |
| 95 | + <groupId>org.geotools</groupId> |
| 96 | + <artifactId>gt-platform-dependencies</artifactId> |
| 97 | + <version>${gt.version}</version> |
| 98 | + <type>pom</type> |
| 99 | + <scope>import</scope> |
| 100 | + </dependency> |
| 101 | + <!-- Import the GeoTools BOM to have access to all gt artifacts without specifying the version --> |
| 102 | + <dependency> |
| 103 | + <groupId>org.geotools</groupId> |
| 104 | + <artifactId>gt-bom</artifactId> |
| 105 | + <version>${gt.version}</version> |
| 106 | + <type>pom</type> |
| 107 | + <scope>import</scope> |
| 108 | + </dependency> |
105 | 109 | <dependency> |
106 | 110 | <groupId>org.springframework</groupId> |
107 | 111 | <artifactId>spring-framework-bom</artifactId> |
|
132 | 136 | <scope>import</scope> |
133 | 137 | </dependency> |
134 | 138 |
|
135 | | - <dependency> |
136 | | - <groupId>org.locationtech.jts</groupId> |
137 | | - <artifactId>jts-core</artifactId> |
138 | | - <version>${jts.version}</version> |
139 | | - <exclusions> |
140 | | - <exclusion> |
141 | | - <artifactId>xercesImpl</artifactId> |
142 | | - <groupId>xerces</groupId> |
143 | | - </exclusion> |
144 | | - </exclusions> |
145 | | - </dependency> |
146 | | - |
147 | 139 | <dependency> |
148 | 140 | <groupId>javax.servlet</groupId> |
149 | 141 | <artifactId>javax.servlet-api</artifactId> |
150 | 142 | <version>3.1.0</version> |
151 | 143 | <scope>provided</scope> |
152 | 144 | </dependency> |
153 | | - |
154 | | - <dependency> |
155 | | - <groupId>com.google.guava</groupId> |
156 | | - <artifactId>guava</artifactId> |
157 | | - <version>${guava.version}</version> |
158 | | - </dependency> |
159 | | - <dependency> |
160 | | - <groupId>com.google.code.findbugs</groupId> |
161 | | - <artifactId>jsr305</artifactId> |
162 | | - <version>${jsr305.version}</version> |
163 | | - </dependency> |
164 | | - <dependency> |
165 | | - <groupId>commons-dbcp</groupId> |
166 | | - <artifactId>commons-dbcp</artifactId> |
167 | | - <version>${commons-dbcp.version}</version> |
168 | | - </dependency> |
169 | | - <dependency> |
170 | | - <groupId>commons-io</groupId> |
171 | | - <artifactId>commons-io</artifactId> |
172 | | - <version>${commons-io.version}</version> |
173 | | - </dependency> |
174 | | - <dependency> |
175 | | - <groupId>org.apache.commons</groupId> |
176 | | - <artifactId>commons-text</artifactId> |
177 | | - <version>${commons-text.version}</version> |
178 | | - </dependency> |
179 | | - <dependency> |
180 | | - <groupId>org.apache.commons</groupId> |
181 | | - <artifactId>commons-collections4</artifactId> |
182 | | - <version>${commons-collections.version}</version> |
183 | | - </dependency> |
184 | 145 | <dependency> |
185 | 146 | <groupId>commons-codec</groupId> |
186 | 147 | <artifactId>commons-codec</artifactId> |
|
191 | 152 | <artifactId>commons-fileupload</artifactId> |
192 | 153 | <version>${commons-fileupload.version}</version> |
193 | 154 | </dependency> |
194 | | - <dependency> |
195 | | - <groupId>org.apache.httpcomponents</groupId> |
196 | | - <artifactId>httpclient</artifactId> |
197 | | - <version>4.5.14</version> |
198 | | - </dependency> |
199 | | - |
200 | | - <!-- configure geotools logging --> |
201 | | - <dependency> |
202 | | - <groupId>org.geotools</groupId> |
203 | | - <artifactId>gt-metadata</artifactId> |
204 | | - <version>${gt.version}</version> |
205 | | - </dependency> |
206 | | - <!-- logging dependencies --> |
207 | | - <dependency> |
208 | | - <groupId>org.apache.logging.log4j</groupId> |
209 | | - <artifactId>log4j-api</artifactId> |
210 | | - <version>${log4j.version}</version> |
211 | | - </dependency> |
212 | | - <dependency> |
213 | | - <groupId>org.apache.logging.log4j</groupId> |
214 | | - <artifactId>log4j-core</artifactId> |
215 | | - <version>${log4j.version}</version> |
216 | | - </dependency> |
217 | | - <dependency> |
218 | | - <groupId>org.apache.logging.log4j</groupId> |
219 | | - <artifactId>log4j-1.2-api</artifactId> |
220 | | - <version>${log4j.version}</version> |
221 | | - </dependency> |
222 | | - <dependency> |
223 | | - <groupId>org.apache.logging.log4j</groupId> |
224 | | - <artifactId>log4j-jul</artifactId> |
225 | | - <version>${log4j.version}</version> |
226 | | - </dependency> |
227 | | - <!-- bridge slf4j to log4j --> |
228 | | - <dependency> |
229 | | - <groupId>org.apache.logging.log4j</groupId> |
230 | | - <artifactId>log4j-slf4j2-impl</artifactId> |
231 | | - <version>${log4j.version}</version> |
232 | | - </dependency> |
233 | | - <dependency> |
234 | | - <groupId>org.slf4j</groupId> |
235 | | - <artifactId>slf4j-api</artifactId> |
236 | | - <version>2.0.16</version> |
237 | | - </dependency> |
238 | | - |
239 | | - <!-- bridge commons-logging to log4j --> |
240 | | - <dependency> |
241 | | - <groupId>org.apache.logging.log4j</groupId> |
242 | | - <artifactId>log4j-jcl</artifactId> |
243 | | - <version>${log4j.version}</version> |
244 | | - </dependency> |
245 | | - <dependency> |
246 | | - <groupId>commons-logging</groupId> |
247 | | - <artifactId>commons-logging</artifactId> |
248 | | - <version>1.3.5</version> |
249 | | - </dependency> |
250 | | - |
251 | | - <dependency> |
252 | | - <groupId>it.geosolutions.jaiext.utilities</groupId> |
253 | | - <artifactId>jt-utilities</artifactId> |
254 | | - <version>${jaiext.version}</version> |
255 | | - </dependency> |
256 | | - <dependency> |
257 | | - <groupId>it.geosolutions.jaiext.colorindexer</groupId> |
258 | | - <artifactId>jt-colorindexer</artifactId> |
259 | | - <version>${jaiext.version}</version> |
260 | | - </dependency> |
261 | | - |
262 | | - <!-- PNG Encoder dependencies --> |
263 | | - <dependency> |
264 | | - <groupId>it.geosolutions.imageio-ext</groupId> |
265 | | - <artifactId>imageio-ext-png</artifactId> |
266 | | - <version>${imageio-ext.version}</version> |
267 | | - </dependency> |
268 | | - |
269 | | - <dependency> |
270 | | - <groupId>it.geosolutions.imageio-ext</groupId> |
271 | | - <artifactId>imageio-ext-streams</artifactId> |
272 | | - <version>${imageio-ext.version}</version> |
273 | | - </dependency> |
274 | | - |
275 | | - <!-- dependency> |
276 | | - <groupId>jcs</groupId> |
277 | | - <artifactId>jcs</artifactId> |
278 | | - <version>1.3</version> |
279 | | - <exclusions> |
280 | | - <exclusion> |
281 | | - <groupId>mysql</groupId> |
282 | | - <artifactId>mysql-connector-java</artifactId> |
283 | | - </exclusion> |
284 | | - <exclusion> |
285 | | - <groupId>berkeleydb</groupId> |
286 | | - <artifactId>berkeleydb</artifactId> |
287 | | - </exclusion> |
288 | | - <exclusion> |
289 | | - <groupId>hsqldb</groupId> |
290 | | - <artifactId>hsqldb</artifactId> |
291 | | - </exclusion> |
292 | | - </exclusions> |
293 | | - </dependency --> |
294 | 155 |
|
295 | 156 | <dependency> |
296 | 157 | <groupId>junit</groupId> |
|
366 | 227 | <scope>test</scope> |
367 | 228 | </dependency> |
368 | 229 |
|
369 | | - <dependency> |
370 | | - <groupId>org.freemarker</groupId> |
371 | | - <artifactId>freemarker</artifactId> |
372 | | - <version>2.3.18</version> |
373 | | - <!-- track same version than GeoServer --> |
374 | | - </dependency> |
375 | | - |
376 | 230 | <dependency> |
377 | 231 | <groupId>com.thoughtworks.xstream</groupId> |
378 | 232 | <artifactId>xstream</artifactId> |
|
385 | 239 | <version>1.5.4</version> |
386 | 240 | </dependency> |
387 | 241 |
|
388 | | - <dependency> |
389 | | - <groupId>com.h2database</groupId> |
390 | | - <artifactId>h2</artifactId> |
391 | | - <version>${h2.version}</version> |
392 | | - </dependency> |
393 | | - |
394 | | - <dependency> |
395 | | - <groupId>org.hsqldb</groupId> |
396 | | - <artifactId>hsqldb</artifactId> |
397 | | - <version>${hsql.version}</version> |
398 | | - </dependency> |
399 | | - |
400 | | - <dependency> |
401 | | - <groupId>org.postgresql</groupId> |
402 | | - <artifactId>postgresql</artifactId> |
403 | | - <version>${postgresql.version}</version> |
404 | | - </dependency> |
405 | | - |
406 | | - <dependency> |
407 | | - <groupId>com.oracle</groupId> |
408 | | - <artifactId>ojdbc14</artifactId> |
409 | | - <version>${oracle.version}</version> |
410 | | - </dependency> |
411 | | - |
412 | 242 | <!-- Berkeley DB JE --> |
413 | 243 | <dependency> |
414 | 244 | <groupId>com.sleepycat</groupId> |
|
424 | 254 | <version>${joda-time.version}</version> |
425 | 255 | </dependency> |
426 | 256 |
|
427 | | - <!-- Pin some additional transitive dependencies in S3 module for consistency--> |
428 | | - <dependency> |
429 | | - <groupId>com.fasterxml.jackson.core</groupId> |
430 | | - <artifactId>jackson-databind</artifactId> |
431 | | - <version>${jackson.databind.version}</version> |
432 | | - </dependency> |
433 | | - <dependency> |
434 | | - <groupId>com.fasterxml.jackson.core</groupId> |
435 | | - <artifactId>jackson-annotations</artifactId> |
436 | | - <version>${jackson.version}</version> |
437 | | - </dependency> |
438 | | - <dependency> |
439 | | - <groupId>com.fasterxml.jackson.core</groupId> |
440 | | - <artifactId>jackson-core</artifactId> |
441 | | - <version>${jackson.version}</version> |
442 | | - </dependency> |
| 257 | + <!-- Jackson dependencies managed by platform-dependencies BOM --> |
443 | 258 | <dependency> |
444 | 259 | <!-- used for tests that require environment variables --> |
445 | 260 | <groupId>com.github.stefanbirkner</groupId> |
|
0 commit comments