|
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.18.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.0-jre</guava.version> |
67 | 60 | <hamcrest.version>3.0</hamcrest.version> |
68 | 61 | <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.5</postgresql.version> |
73 | | - <oracle.version></oracle.version> |
74 | 62 | <java.awt.headless>true</java.awt.headless> |
75 | 63 | <jalopy.phase>disabled</jalopy.phase> |
76 | 64 | <jalopy.srcExcludesPattern>disabled</jalopy.srcExcludesPattern> |
77 | 65 | <test.maxHeapSize>64M</test.maxHeapSize> |
78 | 66 | <maven.test.jvmargs></maven.test.jvmargs> |
79 | | - <imageio-ext.version>1.4.15</imageio-ext.version> |
80 | 67 | <hazelcast.version>5.3.8</hazelcast.version> |
81 | 68 | <joda-time.version>2.8.1</joda-time.version> |
82 | 69 | <spotless.action>apply</spotless.action> |
83 | 70 | <spotless.apply.skip>false</spotless.apply.skip> |
84 | 71 | <pom.fmt.action>sort</pom.fmt.action> |
85 | 72 | <pom.fmt.skip>${spotless.apply.skip}</pom.fmt.skip> |
86 | | - <jackson.version>2.18.2</jackson.version> |
87 | | - <jackson.databind.version>${jackson.version}</jackson.databind.version> |
88 | 73 | <jetty.version>9.4.55.v20240627</jetty.version> |
89 | 74 | <errorProneFlags></errorProneFlags> |
90 | 75 | <errorProne.version>2.24.1</errorProne.version> |
|
102 | 87 |
|
103 | 88 | <dependencyManagement> |
104 | 89 | <dependencies> |
| 90 | + <!-- |
| 91 | + Import the GeoTools platform-dependencies BOM to get consistent third-party dependency versions |
| 92 | + Provides managed versions for several libraries across projects, such as jackson, commons-logging/pool/lang3/cli/text/dbcp, |
| 93 | + JTS, guava, imageio-ext, jai-ext, and more. |
| 94 | + --> |
| 95 | + <dependency> |
| 96 | + <groupId>org.geotools</groupId> |
| 97 | + <artifactId>gt-platform-dependencies</artifactId> |
| 98 | + <version>${gt.version}</version> |
| 99 | + <type>pom</type> |
| 100 | + <scope>import</scope> |
| 101 | + </dependency> |
| 102 | + <!-- Import the GeoTools BOM to have access to all gt artifacts without specifying the version --> |
| 103 | + <dependency> |
| 104 | + <groupId>org.geotools</groupId> |
| 105 | + <artifactId>gt-bom</artifactId> |
| 106 | + <version>${gt.version}</version> |
| 107 | + <type>pom</type> |
| 108 | + <scope>import</scope> |
| 109 | + </dependency> |
105 | 110 | <dependency> |
106 | 111 | <groupId>org.geowebcache</groupId> |
107 | 112 | <artifactId>gwc-core</artifactId> |
|
118 | 123 | <scope>import</scope> |
119 | 124 | </dependency> |
120 | 125 |
|
121 | | - <dependency> |
122 | | - <groupId>org.locationtech.jts</groupId> |
123 | | - <artifactId>jts-core</artifactId> |
124 | | - <version>${jts.version}</version> |
125 | | - <exclusions> |
126 | | - <exclusion> |
127 | | - <artifactId>xercesImpl</artifactId> |
128 | | - <groupId>xerces</groupId> |
129 | | - </exclusion> |
130 | | - </exclusions> |
131 | | - </dependency> |
132 | | - |
133 | 126 | <dependency> |
134 | 127 | <groupId>javax.servlet</groupId> |
135 | 128 | <artifactId>javax.servlet-api</artifactId> |
136 | 129 | <version>3.1.0</version> |
137 | 130 | <scope>provided</scope> |
138 | 131 | </dependency> |
139 | 132 |
|
140 | | - <dependency> |
141 | | - <groupId>com.google.guava</groupId> |
142 | | - <artifactId>guava</artifactId> |
143 | | - <version>${guava.version}</version> |
144 | | - </dependency> |
145 | 133 | <dependency> |
146 | 134 | <groupId>com.google.code.findbugs</groupId> |
147 | 135 | <artifactId>jsr305</artifactId> |
148 | 136 | <version>${jsr305.version}</version> |
149 | 137 | </dependency> |
150 | | - <dependency> |
151 | | - <groupId>commons-dbcp</groupId> |
152 | | - <artifactId>commons-dbcp</artifactId> |
153 | | - <version>${commons-dbcp.version}</version> |
154 | | - </dependency> |
155 | | - <dependency> |
156 | | - <groupId>commons-io</groupId> |
157 | | - <artifactId>commons-io</artifactId> |
158 | | - <version>${commons-io.version}</version> |
159 | | - </dependency> |
160 | | - <dependency> |
161 | | - <groupId>org.apache.commons</groupId> |
162 | | - <artifactId>commons-text</artifactId> |
163 | | - <version>${commons-text.version}</version> |
164 | | - </dependency> |
165 | | - <dependency> |
166 | | - <groupId>org.apache.commons</groupId> |
167 | | - <artifactId>commons-collections4</artifactId> |
168 | | - <version>${commons-collections.version}</version> |
169 | | - </dependency> |
170 | 138 | <dependency> |
171 | 139 | <groupId>commons-codec</groupId> |
172 | 140 | <artifactId>commons-codec</artifactId> |
|
177 | 145 | <artifactId>commons-fileupload</artifactId> |
178 | 146 | <version>${commons-fileupload.version}</version> |
179 | 147 | </dependency> |
180 | | - <dependency> |
181 | | - <groupId>org.apache.httpcomponents</groupId> |
182 | | - <artifactId>httpclient</artifactId> |
183 | | - <version>4.5.14</version> |
184 | | - </dependency> |
185 | | - |
186 | | - <!-- configure geotools logging --> |
187 | | - <dependency> |
188 | | - <groupId>org.geotools</groupId> |
189 | | - <artifactId>gt-metadata</artifactId> |
190 | | - <version>${gt.version}</version> |
191 | | - </dependency> |
192 | | - <!-- logging dependencies --> |
193 | | - <dependency> |
194 | | - <groupId>org.apache.logging.log4j</groupId> |
195 | | - <artifactId>log4j-api</artifactId> |
196 | | - <version>${log4j.version}</version> |
197 | | - </dependency> |
198 | | - <dependency> |
199 | | - <groupId>org.apache.logging.log4j</groupId> |
200 | | - <artifactId>log4j-core</artifactId> |
201 | | - <version>${log4j.version}</version> |
202 | | - </dependency> |
203 | | - <dependency> |
204 | | - <groupId>org.apache.logging.log4j</groupId> |
205 | | - <artifactId>log4j-1.2-api</artifactId> |
206 | | - <version>${log4j.version}</version> |
207 | | - </dependency> |
208 | | - <dependency> |
209 | | - <groupId>org.apache.logging.log4j</groupId> |
210 | | - <artifactId>log4j-jul</artifactId> |
211 | | - <version>${log4j.version}</version> |
212 | | - </dependency> |
213 | | - <!-- bridge slf4j to log4j --> |
214 | | - <dependency> |
215 | | - <groupId>org.apache.logging.log4j</groupId> |
216 | | - <artifactId>log4j-slf4j2-impl</artifactId> |
217 | | - <version>${log4j.version}</version> |
218 | | - </dependency> |
219 | | - <dependency> |
220 | | - <groupId>org.slf4j</groupId> |
221 | | - <artifactId>slf4j-api</artifactId> |
222 | | - <version>2.0.16</version> |
223 | | - </dependency> |
224 | | - |
225 | | - <!-- bridge commons-logging to log4j --> |
226 | | - <dependency> |
227 | | - <groupId>org.apache.logging.log4j</groupId> |
228 | | - <artifactId>log4j-jcl</artifactId> |
229 | | - <version>${log4j.version}</version> |
230 | | - </dependency> |
231 | | - <dependency> |
232 | | - <groupId>commons-logging</groupId> |
233 | | - <artifactId>commons-logging</artifactId> |
234 | | - <version>1.3.5</version> |
235 | | - </dependency> |
236 | | - |
237 | | - <dependency> |
238 | | - <groupId>it.geosolutions.jaiext.utilities</groupId> |
239 | | - <artifactId>jt-utilities</artifactId> |
240 | | - <version>${jaiext.version}</version> |
241 | | - </dependency> |
242 | | - <dependency> |
243 | | - <groupId>it.geosolutions.jaiext.colorindexer</groupId> |
244 | | - <artifactId>jt-colorindexer</artifactId> |
245 | | - <version>${jaiext.version}</version> |
246 | | - </dependency> |
247 | | - |
248 | | - <!-- PNG Encoder dependencies --> |
249 | | - <dependency> |
250 | | - <groupId>it.geosolutions.imageio-ext</groupId> |
251 | | - <artifactId>imageio-ext-png</artifactId> |
252 | | - <version>${imageio-ext.version}</version> |
253 | | - </dependency> |
254 | | - |
255 | | - <dependency> |
256 | | - <groupId>it.geosolutions.imageio-ext</groupId> |
257 | | - <artifactId>imageio-ext-streams</artifactId> |
258 | | - <version>${imageio-ext.version}</version> |
259 | | - </dependency> |
260 | | - |
261 | | - <!-- dependency> |
262 | | - <groupId>jcs</groupId> |
263 | | - <artifactId>jcs</artifactId> |
264 | | - <version>1.3</version> |
265 | | - <exclusions> |
266 | | - <exclusion> |
267 | | - <groupId>mysql</groupId> |
268 | | - <artifactId>mysql-connector-java</artifactId> |
269 | | - </exclusion> |
270 | | - <exclusion> |
271 | | - <groupId>berkeleydb</groupId> |
272 | | - <artifactId>berkeleydb</artifactId> |
273 | | - </exclusion> |
274 | | - <exclusion> |
275 | | - <groupId>hsqldb</groupId> |
276 | | - <artifactId>hsqldb</artifactId> |
277 | | - </exclusion> |
278 | | - </exclusions> |
279 | | - </dependency --> |
280 | 148 |
|
281 | 149 | <dependency> |
282 | 150 | <groupId>junit</groupId> |
|
408 | 276 | <scope>test</scope> |
409 | 277 | </dependency> |
410 | 278 |
|
411 | | - <dependency> |
412 | | - <groupId>org.freemarker</groupId> |
413 | | - <artifactId>freemarker</artifactId> |
414 | | - <version>2.3.18</version> |
415 | | - <!-- track same version than GeoServer --> |
416 | | - </dependency> |
417 | | - |
418 | 279 | <dependency> |
419 | 280 | <groupId>com.thoughtworks.xstream</groupId> |
420 | 281 | <artifactId>xstream</artifactId> |
|
438 | 299 | <version>1.5.4</version> |
439 | 300 | </dependency> |
440 | 301 |
|
441 | | - <dependency> |
442 | | - <groupId>com.h2database</groupId> |
443 | | - <artifactId>h2</artifactId> |
444 | | - <version>${h2.version}</version> |
445 | | - </dependency> |
446 | | - |
447 | | - <dependency> |
448 | | - <groupId>org.hsqldb</groupId> |
449 | | - <artifactId>hsqldb</artifactId> |
450 | | - <version>${hsql.version}</version> |
451 | | - </dependency> |
452 | | - |
453 | | - <dependency> |
454 | | - <groupId>org.postgresql</groupId> |
455 | | - <artifactId>postgresql</artifactId> |
456 | | - <version>${postgresql.version}</version> |
457 | | - </dependency> |
458 | | - |
459 | | - <dependency> |
460 | | - <groupId>com.oracle</groupId> |
461 | | - <artifactId>ojdbc14</artifactId> |
462 | | - <version>${oracle.version}</version> |
463 | | - </dependency> |
464 | | - |
465 | 302 | <!-- Berkeley DB JE --> |
466 | 303 | <dependency> |
467 | 304 | <groupId>com.sleepycat</groupId> |
|
477 | 314 | <version>${joda-time.version}</version> |
478 | 315 | </dependency> |
479 | 316 |
|
480 | | - <!-- Pin some additional transitive dependencies in S3 module for consistency--> |
481 | | - <dependency> |
482 | | - <groupId>com.fasterxml.jackson.core</groupId> |
483 | | - <artifactId>jackson-databind</artifactId> |
484 | | - <version>${jackson.databind.version}</version> |
485 | | - </dependency> |
486 | | - <dependency> |
487 | | - <groupId>com.fasterxml.jackson.core</groupId> |
488 | | - <artifactId>jackson-annotations</artifactId> |
489 | | - <version>${jackson.version}</version> |
490 | | - </dependency> |
491 | | - <dependency> |
492 | | - <groupId>com.fasterxml.jackson.core</groupId> |
493 | | - <artifactId>jackson-core</artifactId> |
494 | | - <version>${jackson.version}</version> |
495 | | - </dependency> |
| 317 | + <!-- Jackson dependencies managed by platform-dependencies BOM --> |
496 | 318 | <dependency> |
497 | 319 | <!-- used for tests that require environment variables --> |
498 | 320 | <groupId>com.github.stefanbirkner</groupId> |
|
0 commit comments