Skip to content

Commit eaebc85

Browse files
committed
[feature] Update dependencies and plugins to latest (Java 8 compatible) versions
1 parent fc35005 commit eaebc85

File tree

24 files changed

+83
-91
lines changed

24 files changed

+83
-91
lines changed

elemental-parent/pom.xml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@
9292
<sonar.moduleKey>${project.groupId}:${project.artifactId}</sonar.moduleKey>
9393

9494
<!-- Dependencies -->
95-
<junit.platform.version>1.10.2</junit.platform.version>
96-
<junit.jupiter.version>5.10.2</junit.jupiter.version>
97-
<objenesis.version>3.3</objenesis.version>
95+
<junit.platform.version>1.12.2</junit.platform.version>
96+
<junit.jupiter.version>5.12.2</junit.jupiter.version>
97+
<objenesis.version>3.4</objenesis.version>
9898
<jaxb.api.version>3.0.1</jaxb.api.version>
9999
<jaxb.impl.version>3.0.2</jaxb.impl.version>
100100
</properties>
@@ -105,7 +105,7 @@
105105
<plugin>
106106
<groupId>org.apache.maven.plugins</groupId>
107107
<artifactId>maven-compiler-plugin</artifactId>
108-
<version>3.13.0</version>
108+
<version>3.14.0</version>
109109
<configuration>
110110
<source>${project.build.source}</source>
111111
<target>${project.build.target}</target>
@@ -139,12 +139,12 @@
139139
<plugin>
140140
<groupId>org.apache.maven.plugins</groupId>
141141
<artifactId>maven-jarsigner-plugin</artifactId>
142-
<version>3.0.0</version>
142+
<version>3.1.0</version>
143143
</plugin>
144144
<plugin>
145145
<groupId>org.apache.maven.plugins</groupId>
146146
<artifactId>maven-source-plugin</artifactId>
147-
<version>3.3.0</version>
147+
<version>3.3.1</version>
148148
<configuration>
149149
<archive>
150150
<manifest>
@@ -168,7 +168,7 @@
168168
<plugin>
169169
<groupId>org.apache.maven.plugins</groupId>
170170
<artifactId>maven-javadoc-plugin</artifactId>
171-
<version>3.6.3</version>
171+
<version>3.11.2</version>
172172
<configuration>
173173
<source>${project.build.source}</source>
174174
<archive>
@@ -199,7 +199,7 @@
199199
<plugin>
200200
<groupId>org.apache.maven.plugins</groupId>
201201
<artifactId>maven-clean-plugin</artifactId>
202-
<version>3.4.0</version>
202+
<version>3.4.1</version>
203203
</plugin>
204204
<plugin>
205205
<groupId>com.mycila</groupId>
@@ -229,7 +229,7 @@
229229
<plugin>
230230
<groupId>org.owasp</groupId>
231231
<artifactId>dependency-check-maven</artifactId>
232-
<version>10.0.3</version>
232+
<version>12.1.1</version>
233233
<configuration>
234234
<nvdApiKey>cb452226-8de1-4d27-9032-7c9b8741c880</nvdApiKey>
235235
<!-- The OSS Index Server (https://ossindex.sonatype.org) can sometimes be flaky -->
@@ -268,30 +268,30 @@
268268
<plugin>
269269
<groupId>org.apache.maven.plugins</groupId>
270270
<artifactId>maven-dependency-plugin</artifactId>
271-
<version>3.7.1</version>
271+
<version>3.8.1</version>
272272
</plugin>
273273
<plugin>
274274
<groupId>org.apache.maven.plugins</groupId>
275275
<artifactId>maven-project-info-reports-plugin</artifactId>
276-
<version>3.6.2</version>
276+
<version>3.9.0</version>
277277
<configuration>
278278
<dependencyDetailsEnabled>false</dependencyDetailsEnabled> <!-- TODO(AR) disabled due to slow `mvn site` build times -->
279279
</configuration>
280280
</plugin>
281281
<plugin>
282282
<groupId>org.apache.maven.plugins</groupId>
283283
<artifactId>maven-site-plugin</artifactId>
284-
<version>3.12.1</version>
284+
<version>3.21.0</version>
285285
</plugin>
286286
<plugin>
287287
<groupId>org.apache.maven.plugins</groupId>
288288
<artifactId>maven-install-plugin</artifactId>
289-
<version>3.1.2</version>
289+
<version>3.1.4</version>
290290
</plugin>
291291
<plugin>
292292
<groupId>org.apache.maven.plugins</groupId>
293293
<artifactId>maven-deploy-plugin</artifactId>
294-
<version>3.1.2</version>
294+
<version>3.1.4</version>
295295
</plugin>
296296
<plugin>
297297
<groupId>org.apache.maven.plugins</groupId>
@@ -315,12 +315,12 @@
315315
<plugin>
316316
<groupId>org.apache.maven.plugins</groupId>
317317
<artifactId>maven-gpg-plugin</artifactId>
318-
<version>3.2.3</version>
318+
<version>3.2.7</version>
319319
</plugin>
320320
<plugin>
321321
<groupId>org.apache.maven.plugins</groupId>
322322
<artifactId>maven-surefire-plugin</artifactId>
323-
<version>3.3.1</version>
323+
<version>3.5.3</version>
324324
<dependencies>
325325
<dependency>
326326
<groupId>org.junit.platform</groupId>

exist-core-jcstress/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<dependency>
6767
<groupId>org.openjdk.jcstress</groupId>
6868
<artifactId>jcstress-core</artifactId>
69-
<version>0.15</version>
69+
<version>0.16</version>
7070
</dependency>
7171
<dependency>
7272
<groupId>xyz.elemental.fork.org.exist-db</groupId>

exist-core-jmh/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
<description>JMH Benchmarks for exist-core</description>
6464

6565
<properties>
66-
<jmh.version>1.36</jmh.version>
66+
<jmh.version>1.37</jmh.version>
6767
<uberjar.name>benchmarks</uberjar.name>
6868
</properties>
6969

exist-core/pom.xml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
<dependency>
8484
<groupId>com.fasterxml.jackson.core</groupId>
8585
<artifactId>jackson-core</artifactId>
86-
<version>2.15.2</version>
86+
<version>2.18.3</version>
8787
</dependency>
8888

8989
<!-- dependency>
@@ -138,7 +138,7 @@
138138
<dependency>
139139
<groupId>org.relaxng</groupId>
140140
<artifactId>jing</artifactId>
141-
<version>20220510</version>
141+
<version>20241231</version>
142142
<exclusions>
143143
<exclusion> <!-- conflicts with xerces 2.12.2 dependency on xml-apis version 1.4.01 -->
144144
<groupId>xml-apis</groupId>
@@ -169,7 +169,7 @@
169169
<dependency>
170170
<groupId>org.bouncycastle</groupId>
171171
<artifactId>bcprov-jdk18on</artifactId>
172-
<version>1.78.1</version>
172+
<version>1.80</version>
173173
</dependency>
174174

175175
<dependency>
@@ -186,7 +186,7 @@
186186
<dependency>
187187
<groupId>com.fasterxml.uuid</groupId>
188188
<artifactId>java-uuid-generator</artifactId>
189-
<version>4.3.0</version>
189+
<version>5.1.0</version>
190190
</dependency>
191191

192192
<dependency>
@@ -215,7 +215,7 @@
215215
<dependency>
216216
<groupId>org.jline</groupId>
217217
<artifactId>jline</artifactId>
218-
<version>3.25.1</version>
218+
<version>3.29.0</version>
219219
</dependency>
220220

221221
<dependency>
@@ -252,13 +252,13 @@
252252
<dependency>
253253
<groupId>commons-logging</groupId>
254254
<artifactId>commons-logging</artifactId>
255-
<version>1.3.0</version>
255+
<version>1.3.5</version>
256256
</dependency>
257257

258258
<dependency>
259259
<groupId>org.apache.commons</groupId>
260260
<artifactId>commons-pool2</artifactId>
261-
<version>2.12.0</version>
261+
<version>2.12.1</version>
262262
</dependency>
263263

264264
<dependency>
@@ -287,9 +287,9 @@
287287
</dependency>
288288

289289
<dependency>
290-
<groupId>org.exist-db.thirdparty.xerces</groupId>
290+
<groupId>com.evolvedbinary.thirdparty.xerces</groupId>
291291
<artifactId>xercesImpl</artifactId>
292-
<version>2.12.2</version>
292+
<version>2.12.2.2</version>
293293
<classifier>xml-schema-1.1</classifier>
294294
</dependency>
295295

@@ -342,9 +342,9 @@
342342
<!-- xpath2 and java-cup are needed at runtime because xercesImpl declares this as optional,
343343
but we need them to enable Schema 1.1 support -->
344344
<dependency>
345-
<groupId>org.exist-db.thirdparty.org.eclipse.wst.xml</groupId>
345+
<groupId>com.evolvedbinary.thirdparty.org.eclipse.wst.xml</groupId>
346346
<artifactId>xpath2</artifactId>
347-
<version>1.2.0</version>
347+
<version>1.2.1.1</version>
348348
<scope>runtime</scope>
349349
</dependency>
350350
<dependency>
@@ -451,13 +451,13 @@
451451
<dependency>
452452
<groupId>com.fifesoft</groupId>
453453
<artifactId>rsyntaxtextarea</artifactId>
454-
<version>3.3.4</version>
454+
<version>3.6.0</version>
455455
</dependency>
456456

457457
<dependency>
458458
<groupId>org.quartz-scheduler</groupId>
459459
<artifactId>quartz</artifactId>
460-
<version>2.3.2</version> <!-- Quartz 2.3.1 has an issue on Windows, see: https://github.com/quartz-scheduler/quartz/issues/448 -->
460+
<version>2.4.0</version>
461461
<!-- exclude Quartz SQL connectivity options -->
462462
<exclusions>
463463
<exclusion>
@@ -1411,7 +1411,6 @@ The BaseX Team. The original license statement is also included below.]]></pream
14111411
<plugin>
14121412
<groupId>org.codehaus.mojo</groupId>
14131413
<artifactId>antlr-maven-plugin</artifactId>
1414-
<version>2.2</version>
14151414
<configuration>
14161415
<grammars>
14171416
org/exist/xquery/parser/XQuery.g,org/exist/xquery/parser/XQueryTree.g,org/exist/xquery/parser/DeclScanner.g,org/exist/xquery/xqdoc/parser/XQDocParser.g

exist-core/src/main/java/org/exist/resolver/ResolverFactory.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ static Resolver newResolver(final List<Tuple2<String, Optional<InputSource>>> ca
7070
resolverConfiguration.setFeature(ResolverFeature.CATALOG_LOADER_CLASS, "org.xmlresolver.loaders.ValidatingXmlLoader");
7171
resolverConfiguration.setFeature(ResolverFeature.CLASSPATH_CATALOGS, true);
7272
resolverConfiguration.setFeature(ResolverFeature.URI_FOR_SYSTEM, true);
73+
// See: https://xmlresolver.org/ch06.html#xml.catalog.alwaysResolve
74+
resolverConfiguration.setFeature(ResolverFeature.ALWAYS_RESOLVE, false);
7375

7476
for (final Tuple2<String, Optional<InputSource>> catalog : catalogs) {
7577
String strCatalogUri = catalog._1;

exist-distribution/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,7 @@
11451145
<plugin>
11461146
<groupId>com.evolvedbinary.appbundler</groupId>
11471147
<artifactId>appbundler-maven-plugin</artifactId>
1148-
<version>3.0.0</version>
1148+
<version>3.2.0</version>
11491149
<executions>
11501150
<execution>
11511151
<id>elemental-mac-app</id>

exist-docker/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@
268268
<plugin>
269269
<groupId>io.fabric8</groupId>
270270
<artifactId>docker-maven-plugin</artifactId>
271-
<version>0.45.1</version>
271+
<version>0.46.0</version>
272272
<configuration>
273273
<verbose>true</verbose>
274274
<images>

0 commit comments

Comments
 (0)