|
61 | 61 | <java.version>1.8</java.version> |
62 | 62 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
63 | 63 | <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> |
66 | 66 | </properties> |
67 | 67 |
|
68 | 68 | <build> |
|
83 | 83 | <plugin> |
84 | 84 | <groupId>org.apache.maven.plugins</groupId> |
85 | 85 | <artifactId>maven-compiler-plugin</artifactId> |
86 | | - <version>3.8.1</version> |
| 86 | + <version>3.15.0</version> |
87 | 87 | <configuration> |
88 | 88 | <source>${java.version}</source> |
89 | 89 | <target>${java.version}</target> |
|
142 | 142 | <plugin> |
143 | 143 | <groupId>org.eluder.coveralls</groupId> |
144 | 144 | <artifactId>coveralls-maven-plugin</artifactId> |
145 | | - <version>5.12.0</version> |
| 145 | + <version>4.3.0</version> |
146 | 146 | <configuration> |
147 | 147 | <!-- TODO: Don't commit repoToken pubically! Find a way to integrate securely --> |
148 | 148 | <repoToken>yourcoverallsprojectrepositorytoken</repoToken> |
|
154 | 154 | <plugin> |
155 | 155 | <groupId>org.apache.maven.plugins</groupId> |
156 | 156 | <artifactId>maven-source-plugin</artifactId> |
157 | | - <version>2.2.1</version> |
| 157 | + <version>3.4.0</version> |
158 | 158 | <executions> |
159 | 159 | <execution> |
160 | 160 | <id>attach-sources</id> |
|
167 | 167 | <plugin> |
168 | 168 | <groupId>org.apache.maven.plugins</groupId> |
169 | 169 | <artifactId>maven-javadoc-plugin</artifactId> |
170 | | - <version>3.1.1</version> |
| 170 | + <version>3.12.0</version> |
171 | 171 | <configuration> |
172 | 172 | <source>${java.version}</source> |
173 | 173 | <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> |
|
185 | 185 | <plugin> |
186 | 186 | <groupId>org.apache.maven.plugins</groupId> |
187 | 187 | <artifactId>maven-gpg-plugin</artifactId> |
188 | | - <version>1.5</version> |
| 188 | + <version>3.2.8</version> |
189 | 189 | <executions> |
190 | 190 | <execution> |
191 | 191 | <id>sign-artifacts</id> |
|
205 | 205 | <plugin> |
206 | 206 | <groupId>org.sonatype.central</groupId> |
207 | 207 | <artifactId>central-publishing-maven-plugin</artifactId> |
208 | | - <version>0.8.0</version> |
| 208 | + <version>0.10.0</version> |
209 | 209 | <extensions>true</extensions> |
210 | 210 | <configuration> |
211 | 211 | <publishingServerId>central</publishingServerId> |
|
215 | 215 | <plugin> |
216 | 216 | <groupId>org.owasp</groupId> |
217 | 217 | <artifactId>dependency-check-maven</artifactId> |
218 | | - <version>9.1.0</version> |
| 218 | + <version>12.1.3</version> |
219 | 219 | </plugin> |
220 | 220 | </plugins> |
221 | 221 | </build> |
|
224 | 224 | <dependency> |
225 | 225 | <groupId>com.google.code.gson</groupId> |
226 | 226 | <artifactId>gson</artifactId> |
227 | | - <version>2.8.9</version> |
| 227 | + <version>2.13.1</version> |
228 | 228 | </dependency> |
229 | 229 | <dependency> |
230 | 230 | <groupId>org.apache.maven.surefire</groupId> |
|
236 | 236 | <dependency> |
237 | 237 | <groupId>org.junit.jupiter</groupId> |
238 | 238 | <artifactId>junit-jupiter-engine</artifactId> |
239 | | - <version>5.6.2</version> |
| 239 | + <version>5.12.2</version> |
240 | 240 | <scope>test</scope> |
241 | 241 | </dependency> |
242 | 242 | <dependency> |
|
264 | 264 | <dependency> |
265 | 265 | <groupId>net.bytebuddy</groupId> |
266 | 266 | <artifactId>byte-buddy</artifactId> |
267 | | - <version>1.14.18</version> |
| 267 | + <version>1.18.8</version> |
268 | 268 | <scope>test</scope> |
269 | 269 | </dependency> |
270 | 270 | <dependency> |
271 | 271 | <groupId>net.bytebuddy</groupId> |
272 | 272 | <artifactId>byte-buddy-agent</artifactId> |
273 | | - <version>1.14.18</version> |
| 273 | + <version>1.18.8</version> |
274 | 274 | <scope>test</scope> |
275 | 275 | </dependency> |
276 | 276 | <dependency> |
277 | 277 | <groupId>org.hamcrest</groupId> |
278 | | - <artifactId>hamcrest-library</artifactId> |
279 | | - <version>2.2</version> |
| 278 | + <artifactId>hamcrest</artifactId> |
| 279 | + <version>3.0</version> |
280 | 280 | <scope>test</scope> |
281 | 281 | </dependency> |
282 | 282 |
|
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. --> |
287 | 287 | <dependency> |
288 | 288 | <groupId>org.codehaus.plexus</groupId> |
289 | 289 | <artifactId>plexus-utils</artifactId> |
290 | | - <version>3.5.1</version> |
| 290 | + <version>4.0.3</version> |
| 291 | + <scope>test</scope> |
291 | 292 | </dependency> |
292 | 293 | </dependencies> |
293 | 294 | </project> |
0 commit comments