|
12 | 12 | <properties> |
13 | 13 | <revision>4.2.1</revision> |
14 | 14 | <java.version>17</java.version> |
15 | | - <junit.version>5.12.2</junit.version> |
16 | | - <maven.surefire.version>3.5.3</maven.surefire.version> |
| 15 | + <junit.version>6.0.1</junit.version> |
| 16 | + <maven.surefire.version>3.5.4</maven.surefire.version> |
17 | 17 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
18 | 18 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
19 | 19 | <reproducible.build.timestamp>${git.commit.time}</reproducible.build.timestamp> |
|
209 | 209 | <dependency> |
210 | 210 | <groupId>org.mockito</groupId> |
211 | 211 | <artifactId>mockito-junit-jupiter</artifactId> |
212 | | - <version>5.18.0</version> |
| 212 | + <version>5.20.0</version> |
213 | 213 | <scope>test</scope> |
214 | 214 | </dependency> |
215 | 215 | <dependency> |
|
227 | 227 | <dependency> |
228 | 228 | <groupId>nl.jqno.equalsverifier</groupId> |
229 | 229 | <artifactId>equalsverifier</artifactId> |
230 | | - <version>4.0</version> |
| 230 | + <version>4.2.2</version> |
231 | 231 | <scope>test</scope> |
232 | 232 | </dependency> |
233 | 233 | <dependency> |
|
236 | 236 | <version>1.4.8</version> |
237 | 237 | <scope>test</scope> |
238 | 238 | </dependency> |
| 239 | + <dependency> |
| 240 | + <groupId>com.exasol</groupId> |
| 241 | + <artifactId>maven-project-version-getter</artifactId> |
| 242 | + <version>1.2.2</version> |
| 243 | + <scope>test</scope> |
| 244 | + </dependency> |
| 245 | + <dependency> |
| 246 | + <groupId>org.itsallcode</groupId> |
| 247 | + <artifactId>simple-process</artifactId> |
| 248 | + <version>0.3.1</version> |
| 249 | + <scope>test</scope> |
| 250 | + </dependency> |
239 | 251 | </dependencies> |
240 | 252 | </dependencyManagement> |
241 | | - <profiles> |
242 | | - <profile> |
243 | | - <id>java21</id> |
244 | | - <activation> |
245 | | - <jdk>21</jdk> |
246 | | - <property> |
247 | | - <!-- Prevent activating this profile when running without specifying |
248 | | - -Djava.version. |
249 | | - Tests with JDK 11 fail because it expecteds a class name as value for for |
250 | | - system property "java.security.manager" --> |
251 | | - <name>java.version</name> |
252 | | - <value>21</value> |
253 | | - </property> |
254 | | - </activation> |
255 | | - <properties> |
256 | | - <!-- java.security.manager is required to fix failing tests in TestCliStarter: |
257 | | - UnsupportedOperation The Security Manager is deprecated and will be removed in a future release --> |
258 | | - <!-- EnableDynamicAgentLoading suppresses a warning caused by Mockito dynamically |
259 | | - loading a Java agent: |
260 | | - WARNING: A Java agent has been loaded dynamically |
261 | | - (~/.m2/repository/net/bytebuddy/byte-buddy-agent/1.14.11/byte-buddy-agent-1.14.11.jar) |
262 | | - Dynamic loading of agents will be disallowed by default in a future release --> |
263 | | - <test.args>-Djava.security.manager=allow -XX:+EnableDynamicAgentLoading</test.args> |
264 | | - </properties> |
265 | | - </profile> |
266 | | - </profiles> |
267 | 253 | <build> |
268 | 254 | <plugins> |
269 | 255 | <plugin> |
|
309 | 295 | <plugin> |
310 | 296 | <groupId>org.apache.maven.plugins</groupId> |
311 | 297 | <artifactId>maven-compiler-plugin</artifactId> |
312 | | - <version>3.14.0</version> |
313 | 298 | <configuration> |
314 | 299 | <source>${java.version}</source> |
315 | 300 | <target>${java.version}</target> |
|
391 | 376 | </execution> |
392 | 377 | </executions> |
393 | 378 | </plugin> |
| 379 | + <plugin> |
| 380 | + <groupId>org.apache.maven.plugins</groupId> |
| 381 | + <artifactId>maven-dependency-plugin</artifactId> |
| 382 | + <version>3.9.0</version> |
| 383 | + <executions> |
| 384 | + <execution> |
| 385 | + <goals> |
| 386 | + <!-- Define ${org.mockito:mockito-core:jar} property required for Mockito agent loading --> |
| 387 | + <goal>properties</goal> |
| 388 | + </goals> |
| 389 | + </execution> |
| 390 | + </executions> |
| 391 | + </plugin> |
394 | 392 | <plugin> |
395 | 393 | <groupId>org.apache.maven.plugins</groupId> |
396 | 394 | <artifactId>maven-surefire-plugin</artifactId> |
|
402 | 400 | </systemPropertyVariables> |
403 | 401 | <useModulePath>true</useModulePath> |
404 | 402 | <argLine> |
405 | | - <!-- Required for Java >= 18 --> ${test.args} </argLine> |
| 403 | + <!-- Required for Java >= 18 --> ${test.args} -javaagent:${org.mockito:mockito-core:jar}</argLine> |
406 | 404 | </configuration> |
407 | 405 | </plugin> |
408 | 406 | <plugin> |
|
416 | 414 | <test.coverage>true</test.coverage> |
417 | 415 | </systemPropertyVariables> |
418 | 416 | <useModulePath>true</useModulePath> |
419 | | - <argLine><!-- Required for Java >= 18 --> ${test.args} </argLine> |
| 417 | + <argLine><!-- Required for Java >= 18 --> ${test.args} -javaagent:${org.mockito:mockito-core:jar}</argLine> |
420 | 418 | </configuration> |
421 | 419 | <executions> |
422 | 420 | <execution> |
|
431 | 429 | <plugin> |
432 | 430 | <groupId>org.codehaus.mojo</groupId> |
433 | 431 | <artifactId>flatten-maven-plugin</artifactId> |
434 | | - <version>1.7.0</version> |
| 432 | + <version>1.7.3</version> |
435 | 433 | <configuration> |
436 | 434 | <flattenMode>oss</flattenMode> <!-- Use 'oss' mode for Maven Central --> |
437 | 435 | </configuration> |
438 | 436 | </plugin> |
439 | 437 | <plugin> |
440 | 438 | <groupId>org.apache.maven.plugins</groupId> |
441 | 439 | <artifactId>maven-enforcer-plugin</artifactId> |
442 | | - <version>3.5.0</version> |
| 440 | + <version>3.6.2</version> |
443 | 441 | <executions> |
444 | 442 | <execution> |
445 | 443 | <id>enforce-maven</id> |
|
485 | 483 | <groupId>org.sonatype.ossindex.maven</groupId> |
486 | 484 | <artifactId>ossindex-maven-plugin</artifactId> |
487 | 485 | <version>3.2.0</version> |
| 486 | + <configuration> |
| 487 | + <authId>ossindex</authId> |
| 488 | + </configuration> |
488 | 489 | <executions> |
489 | 490 | <execution> |
490 | 491 | <id>audit</id> |
|
498 | 499 | <plugin> |
499 | 500 | <groupId>org.apache.maven.plugins</groupId> |
500 | 501 | <artifactId>maven-artifact-plugin</artifactId> |
501 | | - <version>3.6.0</version> |
| 502 | + <version>3.6.1</version> |
502 | 503 | <executions> |
503 | 504 | <execution> |
504 | 505 | <id>verify-reproducible-build</id> |
|
515 | 516 | <plugin> |
516 | 517 | <groupId>org.codehaus.mojo</groupId> |
517 | 518 | <artifactId>versions-maven-plugin</artifactId> |
518 | | - <version>2.18.0</version> |
| 519 | + <version>2.19.1</version> |
519 | 520 | </plugin> |
520 | 521 | <plugin> |
521 | 522 | <!-- Deployment of this module not required --> |
|
532 | 533 | <plugin> |
533 | 534 | <groupId>org.apache.maven.plugins</groupId> |
534 | 535 | <artifactId>maven-clean-plugin</artifactId> |
535 | | - <version>3.4.1</version> |
| 536 | + <version>3.5.0</version> |
| 537 | + </plugin> |
| 538 | + <plugin> |
| 539 | + <groupId>org.apache.maven.plugins</groupId> |
| 540 | + <artifactId>maven-compiler-plugin</artifactId> |
| 541 | + <version>3.14.1</version> |
536 | 542 | </plugin> |
537 | 543 | <plugin> |
538 | 544 | <groupId>org.apache.maven.plugins</groupId> |
|
547 | 553 | <plugin> |
548 | 554 | <groupId>org.apache.maven.plugins</groupId> |
549 | 555 | <artifactId>maven-site-plugin</artifactId> |
550 | | - <version>4.0.0-M16</version> |
| 556 | + <version>3.21.0</version> |
551 | 557 | </plugin> |
552 | 558 | <plugin> |
553 | 559 | <groupId>org.apache.maven.plugins</groupId> |
554 | 560 | <artifactId>maven-shade-plugin</artifactId> |
555 | | - <version>3.6.0</version> |
| 561 | + <version>3.6.1</version> |
556 | 562 | </plugin> |
557 | 563 | <plugin> |
558 | 564 | <groupId>org.apache.maven.plugins</groupId> |
|
567 | 573 | <plugin> |
568 | 574 | <groupId>org.apache.maven.plugins</groupId> |
569 | 575 | <artifactId>maven-javadoc-plugin</artifactId> |
570 | | - <version>3.11.2</version> |
| 576 | + <version>3.12.0</version> |
571 | 577 | </plugin> |
572 | 578 | <plugin> |
573 | 579 | <groupId>org.codehaus.mojo</groupId> |
|
638 | 644 | <dependency> |
639 | 645 | <groupId>net.sourceforge.plantuml</groupId> |
640 | 646 | <artifactId>plantuml</artifactId> |
641 | | - <version>1.2025.0</version> |
| 647 | + <version>1.2025.10</version> |
642 | 648 | </dependency> |
643 | 649 | </dependencies> |
644 | 650 | </plugin> |
|
0 commit comments