Skip to content

Commit 3d41ec8

Browse files
committed
Upgrade dependencies to latest versions
1 parent c088298 commit 3d41ec8

1 file changed

Lines changed: 21 additions & 20 deletions

File tree

pom.xml

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@
6161
<java.version>1.8</java.version>
6262
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
6363
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
64-
<surefire.version>3.0.0-M4</surefire.version>
65-
<jacoco.version>0.8.12</jacoco.version>
64+
<surefire.version>3.5.5</surefire.version>
65+
<jacoco.version>0.8.13</jacoco.version>
6666
</properties>
6767

6868
<build>
@@ -83,7 +83,7 @@
8383
<plugin>
8484
<groupId>org.apache.maven.plugins</groupId>
8585
<artifactId>maven-compiler-plugin</artifactId>
86-
<version>3.8.1</version>
86+
<version>3.15.0</version>
8787
<configuration>
8888
<source>${java.version}</source>
8989
<target>${java.version}</target>
@@ -142,7 +142,7 @@
142142
<plugin>
143143
<groupId>org.eluder.coveralls</groupId>
144144
<artifactId>coveralls-maven-plugin</artifactId>
145-
<version>5.12.0</version>
145+
<version>4.3.0</version>
146146
<configuration>
147147
<!-- TODO: Don't commit repoToken pubically! Find a way to integrate securely -->
148148
<repoToken>yourcoverallsprojectrepositorytoken</repoToken>
@@ -154,7 +154,7 @@
154154
<plugin>
155155
<groupId>org.apache.maven.plugins</groupId>
156156
<artifactId>maven-source-plugin</artifactId>
157-
<version>2.2.1</version>
157+
<version>3.4.0</version>
158158
<executions>
159159
<execution>
160160
<id>attach-sources</id>
@@ -167,7 +167,7 @@
167167
<plugin>
168168
<groupId>org.apache.maven.plugins</groupId>
169169
<artifactId>maven-javadoc-plugin</artifactId>
170-
<version>3.1.1</version>
170+
<version>3.12.0</version>
171171
<configuration>
172172
<source>${java.version}</source>
173173
<javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
@@ -185,7 +185,7 @@
185185
<plugin>
186186
<groupId>org.apache.maven.plugins</groupId>
187187
<artifactId>maven-gpg-plugin</artifactId>
188-
<version>1.5</version>
188+
<version>3.2.8</version>
189189
<executions>
190190
<execution>
191191
<id>sign-artifacts</id>
@@ -205,7 +205,7 @@
205205
<plugin>
206206
<groupId>org.sonatype.central</groupId>
207207
<artifactId>central-publishing-maven-plugin</artifactId>
208-
<version>0.8.0</version>
208+
<version>0.10.0</version>
209209
<extensions>true</extensions>
210210
<configuration>
211211
<publishingServerId>central</publishingServerId>
@@ -215,7 +215,7 @@
215215
<plugin>
216216
<groupId>org.owasp</groupId>
217217
<artifactId>dependency-check-maven</artifactId>
218-
<version>9.1.0</version>
218+
<version>12.1.3</version>
219219
</plugin>
220220
</plugins>
221221
</build>
@@ -224,7 +224,7 @@
224224
<dependency>
225225
<groupId>com.google.code.gson</groupId>
226226
<artifactId>gson</artifactId>
227-
<version>2.8.9</version>
227+
<version>2.13.1</version>
228228
</dependency>
229229
<dependency>
230230
<groupId>org.apache.maven.surefire</groupId>
@@ -236,7 +236,7 @@
236236
<dependency>
237237
<groupId>org.junit.jupiter</groupId>
238238
<artifactId>junit-jupiter-engine</artifactId>
239-
<version>5.6.2</version>
239+
<version>5.12.2</version>
240240
<scope>test</scope>
241241
</dependency>
242242
<dependency>
@@ -264,30 +264,31 @@
264264
<dependency>
265265
<groupId>net.bytebuddy</groupId>
266266
<artifactId>byte-buddy</artifactId>
267-
<version>1.14.18</version>
267+
<version>1.18.8</version>
268268
<scope>test</scope>
269269
</dependency>
270270
<dependency>
271271
<groupId>net.bytebuddy</groupId>
272272
<artifactId>byte-buddy-agent</artifactId>
273-
<version>1.14.18</version>
273+
<version>1.18.8</version>
274274
<scope>test</scope>
275275
</dependency>
276276
<dependency>
277277
<groupId>org.hamcrest</groupId>
278-
<artifactId>hamcrest-library</artifactId>
279-
<version>2.2</version>
278+
<artifactId>hamcrest</artifactId>
279+
<version>3.0</version>
280280
<scope>test</scope>
281281
</dependency>
282282

283-
<!-- Specify versions of transitive dependencies
284-
plexus:plexus-utils introduced through jacoco-maven-plugin, maven-compiler-plugin, and others
285-
- can be removed when mvn dependency:list shows version 3.0.24 or higher and no snyk reported vulnerabilities
286-
-->
283+
<!-- Override transitive plexus-utils to ensure a CVE-free version.
284+
Pulled in via test-scoped jacoco-maven-plugin and surefire deps.
285+
Scoped to test so it does not appear in consumers' transitive deps.
286+
Can be removed once those deps pull in 4.0.3+ transitively. -->
287287
<dependency>
288288
<groupId>org.codehaus.plexus</groupId>
289289
<artifactId>plexus-utils</artifactId>
290-
<version>3.5.1</version>
290+
<version>4.0.3</version>
291+
<scope>test</scope>
291292
</dependency>
292293
</dependencies>
293294
</project>

0 commit comments

Comments
 (0)