Skip to content

Commit b6cb738

Browse files
committed
Updated dependencies to align with Spring Boot 3.3.5
1 parent 74c0b9b commit b6cb738

File tree

2 files changed

+50
-15
lines changed

2 files changed

+50
-15
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
${{ runner.os }}-maven-
2222
2323
- name: Set up JDK 21
24-
uses: actions/setup-java@v3
24+
uses: actions/setup-java@v4
2525
with:
2626
java-version: '21'
2727
distribution: 'temurin'

pom.xml

Lines changed: 49 additions & 14 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.3.4</version>
9+
<version>3.3.5</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.3.4</spt-development-audit-spring-boot.version>
37-
<spt-development-logging-spring-boot.version>3.3.4</spt-development-logging-spring-boot.version>
36+
<spt-development-audit-spring-boot.version>3.3.5</spt-development-audit-spring-boot.version>
37+
<spt-development-logging-spring-boot.version>3.3.5</spt-development-logging-spring-boot.version>
3838

3939
<!-- Test dependency versions -->
4040
<awaitility.version>4.2.2</awaitility.version>
41-
<cucumber.version>7.19.0</cucumber.version>
42-
<junit-platform.version>1.11.0</junit-platform.version>
43-
<spt-development-test.version>3.1.11</spt-development-test.version>
41+
<cucumber.version>7.20.1</cucumber.version>
42+
<junit-platform.version>1.11.3</junit-platform.version>
43+
<spt-development-test.version>3.1.12</spt-development-test.version>
4444

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

4848
<!-- Plugin versions -->
49-
<checkstyle-maven-plugin.version>3.5.0</checkstyle-maven-plugin.version>
50-
<dependency-check-maven.version>10.0.4</dependency-check-maven.version>
49+
<checkstyle-maven-plugin.version>3.6.0</checkstyle-maven-plugin.version>
50+
<dependency-check-maven.version>11.1.0</dependency-check-maven.version>
5151
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
5252
<license-maven-plugin.version>2.4.0</license-maven-plugin.version>
53-
<maven-jxr-plugin.version>3.5.0</maven-jxr-plugin.version>
54-
<maven-pmd-plugin.version>3.25.0</maven-pmd-plugin.version>
53+
<maven-jxr-plugin.version>3.6.0</maven-jxr-plugin.version>
54+
<maven-pmd-plugin.version>3.26.0</maven-pmd-plugin.version>
5555
<maven-scm-plugin.version>2.1.0</maven-scm-plugin.version>
5656
<pitest-maven.version>1.17.0</pitest-maven.version>
57-
<spotbugs-plugin.version>4.8.6.4</spotbugs-plugin.version>
57+
<spotbugs-plugin.version>4.8.6.5</spotbugs-plugin.version>
5858

5959
<!-- Plugin dependencies -->
60-
<checkstyle.version>10.18.1</checkstyle.version>
60+
<checkstyle.version>10.20.0</checkstyle.version>
6161
<findbugs-slf4j-bug-pattern.version>1.5.0</findbugs-slf4j-bug-pattern.version>
62-
<findbugs-sec-bug-pattern.version>1.12.0</findbugs-sec-bug-pattern.version>
62+
<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.5.0</pmd.version>
64+
<pmd.version>7.7.0</pmd.version>
6565
</properties>
6666

6767
<dependencyManagement>
@@ -423,6 +423,17 @@
423423
<artifactId>maven-failsafe-plugin</artifactId>
424424
<configuration>
425425
<!--
426+
Prevents the following warning introduced in JDK 21, caused by Mockito or more specifically byte-buddy-agent:
427+
428+
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)
429+
WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning
430+
WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information
431+
WARNING: Dynamic loading of agents will be disallowed by default in a future release
432+
433+
NOTE. argLine property is set by JaCoCo in prepare-agent stage.
434+
-->
435+
<argLine>-XX:+EnableDynamicAgentLoading ${argLine}</argLine>
436+
<!--
426437
classesDirectory is required to work around a bug that is discussed at
427438
https://github.com/spring-projects/spring-boot/issues/6254. There are a number of different
428439
workarounds, but this seems to be the cleanest.
@@ -450,6 +461,17 @@
450461
<plugin>
451462
<artifactId>maven-surefire-plugin</artifactId>
452463
<configuration>
464+
<!--
465+
Prevents the following warning introduced in JDK 21, caused by Mockito or more specifically byte-buddy-agent:
466+
467+
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)
468+
WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning
469+
WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information
470+
WARNING: Dynamic loading of agents will be disallowed by default in a future release
471+
472+
NOTE. argLine property is set by JaCoCo in prepare-agent stage.
473+
-->
474+
<argLine>-XX:+EnableDynamicAgentLoading ${argLine}</argLine>
453475
<trimStackTrace>false</trimStackTrace>
454476
<includes>
455477
<include>**/*Test.java</include>
@@ -464,6 +486,19 @@
464486
<groupId>com.github.spotbugs</groupId>
465487
<artifactId>spotbugs-maven-plugin</artifactId>
466488
<version>${spotbugs-plugin.version}</version>
489+
<dependencies>
490+
<!-- Included as dependencies as well as plugins so that versions plugins picks up new versions -->
491+
<dependency>
492+
<groupId>jp.skypencil.findbugs.slf4j</groupId>
493+
<artifactId>bug-pattern</artifactId>
494+
<version>${findbugs-slf4j-bug-pattern.version}</version>
495+
</dependency>
496+
<dependency>
497+
<groupId>com.h3xstream.findsecbugs</groupId>
498+
<artifactId>findsecbugs-plugin</artifactId>
499+
<version>${findbugs-sec-bug-pattern.version}</version>
500+
</dependency>
501+
</dependencies>
467502
<configuration>
468503
<effort>Max</effort>
469504
<threshold>Low</threshold>

0 commit comments

Comments
 (0)