Skip to content

Commit 0a16138

Browse files
committed
Upgrade dependencies to latest versions
1 parent 6ed69fd commit 0a16138

1 file changed

Lines changed: 20 additions & 19 deletions

File tree

pom.xml

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@
6262
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
6363
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
6464
<okhttp3.version>4.12.0</okhttp3.version>
65-
<surefire.version>3.0.0-M4</surefire.version>
66-
<jacoco.version>0.8.12</jacoco.version>
65+
<surefire.version>3.5.5</surefire.version>
66+
<jacoco.version>0.8.13</jacoco.version>
6767
</properties>
6868

6969
<build>
@@ -84,7 +84,7 @@
8484
<plugin>
8585
<groupId>org.apache.maven.plugins</groupId>
8686
<artifactId>maven-compiler-plugin</artifactId>
87-
<version>3.8.1</version>
87+
<version>3.15.0</version>
8888
<configuration>
8989
<source>${java.version}</source>
9090
<target>${java.version}</target>
@@ -155,7 +155,7 @@
155155
<plugin>
156156
<groupId>org.apache.maven.plugins</groupId>
157157
<artifactId>maven-source-plugin</artifactId>
158-
<version>2.2.1</version>
158+
<version>3.4.0</version>
159159
<executions>
160160
<execution>
161161
<id>attach-sources</id>
@@ -168,7 +168,7 @@
168168
<plugin>
169169
<groupId>org.apache.maven.plugins</groupId>
170170
<artifactId>maven-javadoc-plugin</artifactId>
171-
<version>3.1.1</version>
171+
<version>3.12.0</version>
172172
<configuration>
173173
<source>${java.version}</source>
174174
<javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
@@ -186,7 +186,7 @@
186186
<plugin>
187187
<groupId>org.apache.maven.plugins</groupId>
188188
<artifactId>maven-gpg-plugin</artifactId>
189-
<version>1.5</version>
189+
<version>3.2.8</version>
190190
<executions>
191191
<execution>
192192
<id>sign-artifacts</id>
@@ -206,7 +206,7 @@
206206
<plugin>
207207
<groupId>org.sonatype.central</groupId>
208208
<artifactId>central-publishing-maven-plugin</artifactId>
209-
<version>0.8.0</version>
209+
<version>0.10.0</version>
210210
<extensions>true</extensions>
211211
<configuration>
212212
<publishingServerId>central</publishingServerId>
@@ -216,7 +216,7 @@
216216
<plugin>
217217
<groupId>org.owasp</groupId>
218218
<artifactId>dependency-check-maven</artifactId>
219-
<version>9.1.0</version>
219+
<version>12.1.3</version>
220220
</plugin>
221221
</plugins>
222222
</build>
@@ -225,7 +225,7 @@
225225
<dependency>
226226
<groupId>com.google.code.gson</groupId>
227227
<artifactId>gson</artifactId>
228-
<version>2.8.9</version>
228+
<version>2.13.1</version>
229229
</dependency>
230230
<dependency>
231231
<groupId>com.squareup.okhttp3</groupId>
@@ -254,7 +254,7 @@
254254
<dependency>
255255
<groupId>org.junit.jupiter</groupId>
256256
<artifactId>junit-jupiter-engine</artifactId>
257-
<version>5.6.2</version>
257+
<version>5.12.2</version>
258258
<scope>test</scope>
259259
</dependency>
260260
<dependency>
@@ -282,30 +282,31 @@
282282
<dependency>
283283
<groupId>net.bytebuddy</groupId>
284284
<artifactId>byte-buddy</artifactId>
285-
<version>1.14.18</version>
285+
<version>1.18.8</version>
286286
<scope>test</scope>
287287
</dependency>
288288
<dependency>
289289
<groupId>net.bytebuddy</groupId>
290290
<artifactId>byte-buddy-agent</artifactId>
291-
<version>1.14.18</version>
291+
<version>1.18.8</version>
292292
<scope>test</scope>
293293
</dependency>
294294
<dependency>
295295
<groupId>org.hamcrest</groupId>
296-
<artifactId>hamcrest-library</artifactId>
297-
<version>2.2</version>
296+
<artifactId>hamcrest</artifactId>
297+
<version>3.0</version>
298298
<scope>test</scope>
299299
</dependency>
300300

301-
<!-- Specify versions of transitive dependencies
302-
plexus:plexus-utils introduced through jacoco-maven-plugin, maven-compiler-plugin, and others
303-
- can be removed when mvn dependency:list shows version 3.0.24 or higher and no snyk reported vulnerabilities
304-
-->
301+
<!-- Override transitive plexus-utils to ensure a CVE-free version.
302+
Pulled in via test-scoped jacoco-maven-plugin and surefire deps.
303+
Scoped to test so it does not appear in consumers' transitive deps.
304+
Can be removed once those deps pull in 4.0.3+ transitively. -->
305305
<dependency>
306306
<groupId>org.codehaus.plexus</groupId>
307307
<artifactId>plexus-utils</artifactId>
308-
<version>3.5.1</version>
308+
<version>4.0.3</version>
309+
<scope>test</scope>
309310
</dependency>
310311
</dependencies>
311312
</project>

0 commit comments

Comments
 (0)