Skip to content

Commit afbb9dd

Browse files
fixes #2288 upgrade dependencies and fix build warnings
1 parent 066743d commit afbb9dd

File tree

1 file changed

+31
-12
lines changed

1 file changed

+31
-12
lines changed

pom.xml

Lines changed: 31 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,26 +29,26 @@
2929
be manually released via the Nexus UI at https://oss.sonatype.org -->
3030
<autoReleaseStagedArtifacts>true</autoReleaseStagedArtifacts>
3131

32+
<commons.csv.version>1.12.0</commons.csv.version>
3233
<docker.maven.plugin.fabric8.version>0.45.0</docker.maven.plugin.fabric8.version>
3334
<felix.bundle.plugin.version>5.1.1</felix.bundle.plugin.version>
3435
<felix.version>7.0.5</felix.version>
36+
<h2.version>2.3.232</h2.version>
3537
<hibernate.version>5.4.24.Final</hibernate.version>
3638
<javassist.version>3.29.2-GA</javassist.version>
3739
<jndi.version>0.11.4.1</jndi.version>
40+
<junit.version>4.13.2</junit.version>
41+
<log4j.version>2.25.1</log4j.version>
3842
<maven.release.version>3.0.1</maven.release.version>
3943
<metrics.version>3.2.5</metrics.version>
4044
<metrics5.version>5.0.0-rc17</metrics5.version>
4145
<micrometer.version>1.5.10</micrometer.version>
42-
<simpleclient.version>0.16.0</simpleclient.version>
4346
<mockito.version>3.7.7</mockito.version>
44-
<pax.exam.version>4.13.5</pax.exam.version>
47+
<pax.exam.version>4.14.0</pax.exam.version>
4548
<pax.url.version>2.5.4</pax.url.version>
46-
<postgresql.version>42.7.4</postgresql.version>
47-
<log4j.version>2.18.0</log4j.version>
48-
<slf4j.version>1.7.36</slf4j.version>
49-
<commons.csv.version>1.12.0</commons.csv.version>
50-
<h2.version>2.3.232</h2.version>
51-
<junit.version>4.13.2</junit.version>
49+
<postgresql.version>42.7.7</postgresql.version>
50+
<simpleclient.version>0.16.0</simpleclient.version>
51+
<slf4j.version>2.0.17</slf4j.version>
5252
<testcontainers.version>1.20.3</testcontainers.version>
5353
</properties>
5454

@@ -127,7 +127,13 @@
127127
<dependency>
128128
<groupId>org.apache.commons</groupId>
129129
<artifactId>commons-compress</artifactId>
130-
<version>[1.26.0,)</version>
130+
<version>1.27.1</version>
131+
<scope>test</scope>
132+
</dependency>
133+
<dependency>
134+
<groupId>org.apache.commons</groupId>
135+
<artifactId>commons-lang3</artifactId>
136+
<version>3.18.0</version>
131137
<scope>test</scope>
132138
</dependency>
133139
<dependency>
@@ -225,7 +231,7 @@
225231
</dependency>
226232
<dependency>
227233
<groupId>org.apache.logging.log4j</groupId>
228-
<artifactId>log4j-slf4j-impl</artifactId>
234+
<artifactId>log4j-slf4j2-impl</artifactId>
229235
<version>${log4j.version}</version>
230236
<scope>test</scope>
231237
</dependency>
@@ -290,6 +296,18 @@
290296
<build>
291297
<pluginManagement>
292298
<plugins>
299+
<plugin>
300+
<groupId>org.apache.maven.plugins</groupId>
301+
<artifactId>maven-resources-plugin</artifactId>
302+
<version>3.3.1</version>
303+
</plugin>
304+
305+
<plugin>
306+
<groupId>org.apache.maven.plugins</groupId>
307+
<artifactId>maven-install-plugin</artifactId>
308+
<version>3.1.4</version>
309+
</plugin>
310+
293311
<plugin>
294312
<groupId>org.apache.maven.plugins</groupId>
295313
<artifactId>maven-clean-plugin</artifactId>
@@ -339,6 +357,7 @@
339357
<!-- Sets the VM argument line used when unit tests are run. -->
340358
<argLine>${surefireArgLine} ${sureFireOptions11}</argLine>
341359
<reuseForks>${sureFireForks11}</reuseForks>
360+
<useModulePath>false</useModulePath>
342361
</configuration>
343362
</plugin>
344363

@@ -577,7 +596,7 @@
577596
<configuration>
578597
<classifier>${artifact.classifier}</classifier>
579598
<instructions>
580-
<Automatic-Module-Name>${automatic.module.name}</Automatic-Module-Name>
599+
<Automatic-Module-Name>com.zaxxer.hikari</Automatic-Module-Name>
581600
<!-- Multi-Release>true</Multi-Release-->
582601
<Bundle-Name>HikariCP</Bundle-Name>
583602
<Export-Package>
@@ -589,7 +608,7 @@
589608
com.zaxxer.hikari.metrics.prometheus
590609
</Export-Package>
591610
<Private-Package>com.zaxxer.hikari.*</Private-Package>
592-
<Include-Resource>{maven-resources}</Include-Resource>
611+
<!-- Include-Resource>{maven-resources}</Include-Resource -->
593612
<_exportcontents>
594613
com.zaxxer.hikari.pool,
595614
com.zaxxer.hikari.util

0 commit comments

Comments
 (0)