|
62 | 62 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
63 | 63 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
64 | 64 | <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> |
67 | 67 | </properties> |
68 | 68 |
|
69 | 69 | <build> |
|
84 | 84 | <plugin> |
85 | 85 | <groupId>org.apache.maven.plugins</groupId> |
86 | 86 | <artifactId>maven-compiler-plugin</artifactId> |
87 | | - <version>3.8.1</version> |
| 87 | + <version>3.15.0</version> |
88 | 88 | <configuration> |
89 | 89 | <source>${java.version}</source> |
90 | 90 | <target>${java.version}</target> |
|
155 | 155 | <plugin> |
156 | 156 | <groupId>org.apache.maven.plugins</groupId> |
157 | 157 | <artifactId>maven-source-plugin</artifactId> |
158 | | - <version>2.2.1</version> |
| 158 | + <version>3.4.0</version> |
159 | 159 | <executions> |
160 | 160 | <execution> |
161 | 161 | <id>attach-sources</id> |
|
168 | 168 | <plugin> |
169 | 169 | <groupId>org.apache.maven.plugins</groupId> |
170 | 170 | <artifactId>maven-javadoc-plugin</artifactId> |
171 | | - <version>3.1.1</version> |
| 171 | + <version>3.12.0</version> |
172 | 172 | <configuration> |
173 | 173 | <source>${java.version}</source> |
174 | 174 | <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> |
|
186 | 186 | <plugin> |
187 | 187 | <groupId>org.apache.maven.plugins</groupId> |
188 | 188 | <artifactId>maven-gpg-plugin</artifactId> |
189 | | - <version>1.5</version> |
| 189 | + <version>3.2.8</version> |
190 | 190 | <executions> |
191 | 191 | <execution> |
192 | 192 | <id>sign-artifacts</id> |
|
206 | 206 | <plugin> |
207 | 207 | <groupId>org.sonatype.central</groupId> |
208 | 208 | <artifactId>central-publishing-maven-plugin</artifactId> |
209 | | - <version>0.8.0</version> |
| 209 | + <version>0.10.0</version> |
210 | 210 | <extensions>true</extensions> |
211 | 211 | <configuration> |
212 | 212 | <publishingServerId>central</publishingServerId> |
|
216 | 216 | <plugin> |
217 | 217 | <groupId>org.owasp</groupId> |
218 | 218 | <artifactId>dependency-check-maven</artifactId> |
219 | | - <version>9.1.0</version> |
| 219 | + <version>12.1.3</version> |
220 | 220 | </plugin> |
221 | 221 | </plugins> |
222 | 222 | </build> |
|
225 | 225 | <dependency> |
226 | 226 | <groupId>com.google.code.gson</groupId> |
227 | 227 | <artifactId>gson</artifactId> |
228 | | - <version>2.8.9</version> |
| 228 | + <version>2.13.1</version> |
229 | 229 | </dependency> |
230 | 230 | <dependency> |
231 | 231 | <groupId>com.squareup.okhttp3</groupId> |
|
254 | 254 | <dependency> |
255 | 255 | <groupId>org.junit.jupiter</groupId> |
256 | 256 | <artifactId>junit-jupiter-engine</artifactId> |
257 | | - <version>5.6.2</version> |
| 257 | + <version>5.12.2</version> |
258 | 258 | <scope>test</scope> |
259 | 259 | </dependency> |
260 | 260 | <dependency> |
|
282 | 282 | <dependency> |
283 | 283 | <groupId>net.bytebuddy</groupId> |
284 | 284 | <artifactId>byte-buddy</artifactId> |
285 | | - <version>1.14.18</version> |
| 285 | + <version>1.18.8</version> |
286 | 286 | <scope>test</scope> |
287 | 287 | </dependency> |
288 | 288 | <dependency> |
289 | 289 | <groupId>net.bytebuddy</groupId> |
290 | 290 | <artifactId>byte-buddy-agent</artifactId> |
291 | | - <version>1.14.18</version> |
| 291 | + <version>1.18.8</version> |
292 | 292 | <scope>test</scope> |
293 | 293 | </dependency> |
294 | 294 | <dependency> |
295 | 295 | <groupId>org.hamcrest</groupId> |
296 | | - <artifactId>hamcrest-library</artifactId> |
297 | | - <version>2.2</version> |
| 296 | + <artifactId>hamcrest</artifactId> |
| 297 | + <version>3.0</version> |
298 | 298 | <scope>test</scope> |
299 | 299 | </dependency> |
300 | 300 |
|
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. --> |
305 | 305 | <dependency> |
306 | 306 | <groupId>org.codehaus.plexus</groupId> |
307 | 307 | <artifactId>plexus-utils</artifactId> |
308 | | - <version>3.5.1</version> |
| 308 | + <version>4.0.3</version> |
| 309 | + <scope>test</scope> |
309 | 310 | </dependency> |
310 | 311 | </dependencies> |
311 | 312 | </project> |
0 commit comments