Skip to content

Commit 6ba5565

Browse files
authored
Upgrade to Spring Boot 3.3 (#427)
1 parent a5beb15 commit 6ba5565

File tree

2 files changed

+9
-33
lines changed

2 files changed

+9
-33
lines changed

pom.xml

Lines changed: 2 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<parent>
5454
<groupId>org.springframework.boot</groupId>
5555
<artifactId>spring-boot-starter-parent</artifactId>
56-
<version>3.2.5</version>
56+
<version>3.3.0</version>
5757
<relativePath/>
5858
<!-- lookup parent from repository -->
5959
</parent>
@@ -67,16 +67,10 @@
6767

6868
<properties>
6969
<java.version>21</java.version>
70-
<commons-lang3.version>3.14.0</commons-lang3.version>
71-
<jackson-bom.version>2.17.0</jackson-bom.version>
72-
<logback.version>1.4.14</logback.version>
73-
<mockito.version>5.11.0</mockito.version>
74-
<snakeyaml.version>2.2</snakeyaml.version>
7570
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
7671
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
7772
<maven.compiler.source>${java.version}</maven.compiler.source>
7873
<maven.compiler.target>${java.version}</maven.compiler.target>
79-
<lombok.version>1.18.32</lombok.version>
8074
</properties>
8175

8276
<dependencies>
@@ -144,7 +138,6 @@
144138
<dependency>
145139
<groupId>com.github.ben-manes.caffeine</groupId>
146140
<artifactId>caffeine</artifactId>
147-
<version>3.1.8</version>
148141
</dependency>
149142
<dependency>
150143
<groupId>io.projectreactor</groupId>
@@ -154,7 +147,6 @@
154147
<dependency>
155148
<groupId>org.assertj</groupId>
156149
<artifactId>assertj-core</artifactId>
157-
<version>3.25.3</version>
158150
<scope>test</scope>
159151
</dependency>
160152
<dependency>
@@ -249,19 +241,6 @@
249241
<plugin>
250242
<groupId>org.cyclonedx</groupId>
251243
<artifactId>cyclonedx-maven-plugin</artifactId>
252-
<version>2.8.0</version>
253-
<executions>
254-
<execution>
255-
<phase>validate</phase>
256-
<goals>
257-
<goal>makeAggregateBom</goal>
258-
</goals>
259-
</execution>
260-
</executions>
261-
<configuration>
262-
<outputFormat>json</outputFormat>
263-
<outputName>classes/bom</outputName>
264-
</configuration>
265244
</plugin>
266245
<plugin>
267246
<groupId>org.projectlombok</groupId>
@@ -311,7 +290,6 @@
311290
<plugin>
312291
<groupId>org.apache.maven.plugins</groupId>
313292
<artifactId>maven-antrun-plugin</artifactId>
314-
<version>3.1.0</version>
315293
<executions>
316294
<execution>
317295
<id>generate-delomboked-sources-jar</id>
@@ -342,7 +320,6 @@
342320
<plugin>
343321
<groupId>org.codehaus.mojo</groupId>
344322
<artifactId>build-helper-maven-plugin</artifactId>
345-
<version>3.6.0</version>
346323
<executions>
347324
<execution>
348325
<id>attach-delomboked-sources-jar</id>
@@ -391,7 +368,6 @@
391368
<plugin>
392369
<groupId>io.github.git-commit-id</groupId>
393370
<artifactId>git-commit-id-maven-plugin</artifactId>
394-
<version>8.0.2</version>
395371
<executions>
396372
<execution>
397373
<id>get-the-git-infos</id>
@@ -412,12 +388,10 @@
412388
<plugin>
413389
<groupId>org.apache.maven.plugins</groupId>
414390
<artifactId>maven-compiler-plugin</artifactId>
415-
<version>3.13.0</version>
416391
</plugin>
417392
<plugin>
418393
<groupId>org.codehaus.mojo</groupId>
419394
<artifactId>versions-maven-plugin</artifactId>
420-
<version>2.16.2</version>
421395
<configuration>
422396
<generateBackupPoms>false</generateBackupPoms>
423397
</configuration>
@@ -530,15 +504,13 @@
530504
<plugin>
531505
<groupId>org.apache.maven.plugins</groupId>
532506
<artifactId>maven-surefire-plugin</artifactId>
533-
<version>3.2.5</version>
534507
<configuration>
535508
<argLine>${surefire.jacoco.args}</argLine>
536509
</configuration>
537510
</plugin>
538511
<plugin>
539512
<groupId>org.apache.maven.plugins</groupId>
540513
<artifactId>maven-failsafe-plugin</artifactId>
541-
<version>3.2.5</version>
542514
<configuration>
543515
<argLine>${failsafe.jacoco.args}</argLine>
544516
</configuration>
@@ -554,7 +526,6 @@
554526
<plugin>
555527
<groupId>org.springframework.boot</groupId>
556528
<artifactId>spring-boot-maven-plugin</artifactId>
557-
<version>3.2.5</version>
558529
<configuration>
559530
<image>
560531
<builder>paketobuildpacks/builder-jammy-tiny</builder>
@@ -695,7 +666,7 @@
695666
<dependency>
696667
<groupId>org.cftoolsuite.actuator</groupId>
697668
<artifactId>spring-boot-starter-runtime-metadata</artifactId>
698-
<version>0.3.0</version>
669+
<version>0.4.0</version>
699670
</dependency>
700671
</dependencies>
701672
</profile>
@@ -722,7 +693,6 @@
722693
<plugin>
723694
<groupId>org.codehaus.mojo</groupId>
724695
<artifactId>versions-maven-plugin</artifactId>
725-
<version>2.16.2</version>
726696
<reportSets>
727697
<reportSet>
728698
<reports>

src/main/resources/application.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ spring:
1212
enabled: false
1313
discovery:
1414
enabled: false
15+
threads:
16+
virtual:
17+
enabled: true
1518

1619
eureka:
1720
client:
@@ -37,7 +40,7 @@ management:
3740
endpoints:
3841
web:
3942
exposure:
40-
include: health,info,httptrace,loggers,metrics,prometheus
43+
include: health,info,httptrace,loggers,metrics,prometheus,sbom
4144
endpoint:
4245
health:
4346
show-details: always
@@ -53,6 +56,9 @@ spring:
5356
enabled: true
5457
discovery:
5558
enabled: true
59+
threads:
60+
virtual:
61+
enabled: true
5662

5763
management:
5864
cloudfoundry:

0 commit comments

Comments
 (0)