-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
276 lines (255 loc) · 10.9 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>3.3.5</version>
</parent>
<groupId>com.geomatys</groupId>
<artifactId>geomatys-bom</artifactId>
<version>2024.4</version>
<packaging>pom</packaging>
<name>geomatys-bom</name>
<description>Geomatys third-party dependencies</description>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>
<scm>
<url>https://github.com/geomatys/geomatys-bom</url>
</scm>
<repositories>
<repository>
<id>spring.releases</id>
<name>Spring release repository</name>
<url>https://repo.spring.io/release</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>geomatys.public</id>
<name>Geomatys public release repository</name>
<url>https://nexus.geomatys.com/repository/maven-public</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>unidata-all</id>
<name>Unidata All</name>
<url>https://artifacts.unidata.ucar.edu/repository/unidata-all/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<properties>
<commons-io.version>2.11.0</commons-io.version>
<!-- Temporary overrides: we need OLDER version for now. Check if we can upgrade it in Geotoolkit and Examind community -->
<elasticsearch.version>7.6.1</elasticsearch.version>
<!-- JODA is used by ElasticSearch and Geotk/Examind Community. To ensure a version convergence, We freeze it here. -->
<joda-time.version>2.10.14</joda-time.version>
<!--
JAI is mainly used by Geotoolkit for image processing. In the future, it might be remove if Apache SIS
provides sufficient replacements.
Note that we use JAI Core and JAI Codec, but we do not define JAI ImageIO. We avoid its use, because it uses
JDK internal classes (from java.base module) that are not exposed anymore since JDK 17
-->
<jai.core.version>1.1.3</jai.core.version>
<jai.codec.version>1.1.3</jai.codec.version>
<ucar-netcdf.version>5.5.3</ucar-netcdf.version>
<ucar.jj2000.version>5.4</ucar.jj2000.version>
<!-- Sync with the version used by UCAR NetCDF -->
<guava.version>30.1-jre</guava.version>
<jimfs.version>1.3.0</jimfs.version>
<jmh.version>1.34</jmh.version>
<jts.version>1.20.0</jts.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.locationtech.jts</groupId>
<artifactId>jts-core</artifactId>
<optional>false</optional>
<version>${jts.version}</version>
</dependency>
<!-- TODO: remove in the future. Used by Examind-Community for custom behavior in CSW. -->
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>${javax-jaxb.version}</version>
</dependency>
<dependency>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>${joda-time.version}</version>
</dependency>
<dependency>
<groupId>javax.media</groupId>
<artifactId>jai_core</artifactId>
<version>${jai.core.version}</version>
</dependency>
<dependency>
<groupId>javax.media</groupId>
<artifactId>jai_codec</artifactId>
<version>${jai.codec.version}</version>
</dependency>
<dependency>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>${groovy.version}</version>
<type>pom</type> <!-- See https://groovy.apache.org/download.html#buildtools -->
<exclusions>
<!--
Exclude groovy-test dependencies, we do not need them. Moreover, it also bring testNG and its own
JUnit version, and we do not want that.
-->
<exclusion>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-testng</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-test</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.groovy</groupId>
<artifactId>groovy-test-junit5</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
</dependency>
<!--
For now, we don't use UCAR BOM, because it might erase dependency versions from Spring.
We depend mostly on Spring for our products, so it must take precedence.
-->
<dependency>
<groupId>edu.ucar</groupId>
<artifactId>cdm-core</artifactId>
<version>${ucar-netcdf.version}</version>
</dependency>
<dependency>
<groupId>edu.ucar</groupId>
<artifactId>grib</artifactId>
<version>${ucar-netcdf.version}</version>
</dependency>
<dependency>
<groupId>edu.ucar</groupId>
<artifactId>netcdf4</artifactId>
<version>${ucar-netcdf.version}</version>
</dependency>
<dependency>
<groupId>edu.ucar</groupId>
<artifactId>jj2000</artifactId>
<version>${ucar.jj2000.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
<exclusions>
<!-- Exclude because of conflict with PostgreSQL JDBC driver-->
<exclusion>
<groupId>org.checkerframework</groupId>
<artifactId>checker-qual</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.jimfs</groupId>
<artifactId>jimfs</artifactId>
<version>${jimfs.version}</version>
<exclusions>
<!-- Exclude because we want JRE version, not android -->
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-core</artifactId>
<version>${jmh.version}</version>
</dependency>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
<version>${jmh.version}</version>
</dependency>
<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>elasticsearch-rest-high-level-client</artifactId>
<version>${elasticsearch.version}</version>
</dependency>
<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>elasticsearch-rest-client</artifactId>
<version>${elasticsearch.version}</version>
</dependency>
<!--
Solve conflict between UCAR netcdf and ElasticSearch client.
On change on any of both, this rule should be revised.
NOTE: Spring-Boot 3 depends on a higher version, whose artifactId has changed:
org.apache.httpcomponents.client5:httpclient5
-->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.14</version>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.spotify</groupId>
<artifactId>dockerfile-maven-plugin</artifactId>
<version>1.4.13</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.3.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<!-- Verify if it is still necessary -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.10.0</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.10</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>