Skip to content

Commit a4b0723

Browse files
committed
Updated dependencies to align with Spring Boot 3.4.1
1 parent ce40df7 commit a4b0723

File tree

1 file changed

+16
-29
lines changed

1 file changed

+16
-29
lines changed

pom.xml

Lines changed: 16 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.springframework.boot</groupId>
88
<artifactId>spring-boot-starter-parent</artifactId>
9-
<version>3.4.0</version>
9+
<version>3.4.1</version>
1010
<relativePath /> <!-- lookup parent from repository -->
1111
</parent>
1212

@@ -33,35 +33,35 @@
3333
<commons-collections.version>4.4</commons-collections.version>
3434
<commons-logging.version>1.3.4</commons-logging.version>
3535
<findbugs-jsr305.version>3.0.2</findbugs-jsr305.version>
36-
<spt-development-audit-spring-boot.version>3.4.0</spt-development-audit-spring-boot.version>
37-
<spt-development-logging-spring-boot.version>3.4.0</spt-development-logging-spring-boot.version>
36+
<spt-development-audit-spring-boot.version>3.4.1</spt-development-audit-spring-boot.version>
37+
<spt-development-logging-spring-boot.version>3.4.1</spt-development-logging-spring-boot.version>
3838

3939
<!-- Test dependency versions -->
4040
<awaitility.version>4.2.2</awaitility.version>
4141
<cucumber.version>7.20.1</cucumber.version>
42-
<junit-platform.version>1.11.3</junit-platform.version>
43-
<spt-development-test.version>3.1.13</spt-development-test.version>
42+
<junit-platform.version>1.11.4</junit-platform.version>
43+
<spt-development-test.version>3.1.14</spt-development-test.version>
4444

4545
<!-- Spring Boot overrides to fix security vulnerabilities -->
4646
<artemis.version>2.38.0</artemis.version>
4747

4848
<!-- Plugin versions -->
4949
<checkstyle-maven-plugin.version>3.6.0</checkstyle-maven-plugin.version>
50-
<dependency-check-maven.version>11.1.0</dependency-check-maven.version>
50+
<dependency-check-maven.version>11.1.1</dependency-check-maven.version>
5151
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
52-
<license-maven-plugin.version>2.4.0</license-maven-plugin.version>
52+
<license-maven-plugin.version>2.5.0</license-maven-plugin.version>
5353
<maven-jxr-plugin.version>3.6.0</maven-jxr-plugin.version>
5454
<maven-pmd-plugin.version>3.26.0</maven-pmd-plugin.version>
5555
<maven-scm-plugin.version>2.1.0</maven-scm-plugin.version>
56-
<pitest-maven.version>1.17.1</pitest-maven.version>
56+
<pitest-maven.version>1.17.3</pitest-maven.version>
5757
<spotbugs-plugin.version>4.8.6.6</spotbugs-plugin.version>
5858

5959
<!-- Plugin dependencies -->
60-
<checkstyle.version>10.20.1</checkstyle.version>
60+
<checkstyle.version>10.21.0</checkstyle.version>
6161
<findbugs-slf4j-bug-pattern.version>1.5.0</findbugs-slf4j-bug-pattern.version>
6262
<findbugs-sec-bug-pattern.version>1.13.0</findbugs-sec-bug-pattern.version>
6363
<pitest-junit5-plugin.version>1.2.1</pitest-junit5-plugin.version>
64-
<pmd.version>7.7.0</pmd.version>
64+
<pmd.version>7.8.0</pmd.version>
6565
</properties>
6666

6767
<dependencyManagement>
@@ -429,15 +429,6 @@
429429
<artifactId>maven-failsafe-plugin</artifactId>
430430
<configuration>
431431
<!--
432-
Prevents the following warning introduced in JDK 21, caused by Mockito or more specifically byte-buddy-agent:
433-
434-
WARNING: A Java agent has been loaded dynamically (/Users/khm/.m2/repository/net/bytebuddy/byte-buddy-agent/1.14.5/byte-buddy-agent-1.14.5.jar)
435-
WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning
436-
WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information
437-
WARNING: Dynamic loading of agents will be disallowed by default in a future release
438-
439-
NOTE. argLine property is set by JaCoCo in prepare-agent stage.
440-
441432
Starting from Java 21, the JDK restricts the ability of libraries to attach a Java agent to their own JVM. As a result, the inline-mock-maker might not be
442433
able to function without an explicit setup to enable instrumentation, and the JVM will always display a warning.
443434
@@ -446,8 +437,10 @@
446437
@{argLine} -javaagent:${org.mockito:mockito-core:jar}
447438
448439
Additionally, the `properties` goal of the `maven-dependency-plugin` must be executed.
440+
441+
NOTE. argLine property is set by JaCoCo in prepare-agent stage.
449442
-->
450-
<argLine>-XX:+EnableDynamicAgentLoading @{argLine} -javaagent:${org.mockito:mockito-core:jar}</argLine>
443+
<argLine>@{argLine} -javaagent:${org.mockito:mockito-core:jar}</argLine>
451444
<!--
452445
classesDirectory is required to work around a bug that is discussed at
453446
https://github.com/spring-projects/spring-boot/issues/6254. There are a number of different
@@ -477,14 +470,6 @@
477470
<artifactId>maven-surefire-plugin</artifactId>
478471
<configuration>
479472
<!--
480-
Prevents the following warning introduced in JDK 21, caused by Mockito or more specifically byte-buddy-agent:
481-
482-
WARNING: A Java agent has been loaded dynamically (/Users/khm/.m2/repository/net/bytebuddy/byte-buddy-agent/1.14.5/byte-buddy-agent-1.14.5.jar)
483-
WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning
484-
WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information
485-
WARNING: Dynamic loading of agents will be disallowed by default in a future release
486-
487-
NOTE. argLine property is set by JaCoCo in prepare-agent stage.
488473
489474
Starting from Java 21, the JDK restricts the ability of libraries to attach a Java agent to their own JVM. As a result, the inline-mock-maker might not be
490475
able to function without an explicit setup to enable instrumentation, and the JVM will always display a warning.
@@ -494,8 +479,10 @@
494479
@{argLine} -javaagent:${org.mockito:mockito-core:jar}
495480
496481
Additionally, the `properties` goal of the `maven-dependency-plugin` must be executed.
482+
483+
NOTE. argLine property is set by JaCoCo in prepare-agent stage.
497484
-->
498-
<argLine>-XX:+EnableDynamicAgentLoading @{argLine} -javaagent:${org.mockito:mockito-core:jar}</argLine>
485+
<argLine>@{argLine} -javaagent:${org.mockito:mockito-core:jar}</argLine>
499486
<trimStackTrace>false</trimStackTrace>
500487
<includes>
501488
<include>**/*Test.java</include>

0 commit comments

Comments
 (0)