Skip to content

Commit 0cd4d10

Browse files
authored
Upgrade to Spring Boot 3.3 (#209)
1 parent 63bcaf2 commit 0cd4d10

File tree

2 files changed

+9
-39
lines changed

2 files changed

+9
-39
lines changed

pom.xml

Lines changed: 2 additions & 38 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,17 +67,11 @@
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>
7974
<vaadin.version>24.3.12</vaadin.version>
80-
<lombok.version>1.18.32</lombok.version>
8175
</properties>
8276

8377
<dependencies>
@@ -163,19 +157,13 @@
163157
<dependency>
164158
<groupId>com.github.ben-manes.caffeine</groupId>
165159
<artifactId>caffeine</artifactId>
166-
<version>3.1.8</version>
167160
</dependency>
168161

169162
<dependency>
170163
<groupId>com.vaadin</groupId>
171164
<artifactId>vaadin-spring-boot-starter</artifactId>
172165
<version>${vaadin.version}</version>
173166
</dependency>
174-
<dependency>
175-
<groupId>org.vaadin.artur</groupId>
176-
<artifactId>a-vaadin-helper</artifactId>
177-
<version>1.9.0</version>
178-
</dependency>
179167
<dependency>
180168
<groupId>com.github.appreciated</groupId>
181169
<artifactId>apexcharts</artifactId>
@@ -190,7 +178,6 @@
190178
<dependency>
191179
<groupId>org.assertj</groupId>
192180
<artifactId>assertj-core</artifactId>
193-
<version>3.25.3</version>
194181
<scope>test</scope>
195182
</dependency>
196183
<dependency>
@@ -299,19 +286,6 @@
299286
<plugin>
300287
<groupId>org.cyclonedx</groupId>
301288
<artifactId>cyclonedx-maven-plugin</artifactId>
302-
<version>2.8.0</version>
303-
<executions>
304-
<execution>
305-
<phase>validate</phase>
306-
<goals>
307-
<goal>makeAggregateBom</goal>
308-
</goals>
309-
</execution>
310-
</executions>
311-
<configuration>
312-
<outputFormat>json</outputFormat>
313-
<outputName>classes/bom</outputName>
314-
</configuration>
315289
</plugin>
316290
<plugin>
317291
<groupId>org.projectlombok</groupId>
@@ -361,7 +335,6 @@
361335
<plugin>
362336
<groupId>org.apache.maven.plugins</groupId>
363337
<artifactId>maven-antrun-plugin</artifactId>
364-
<version>3.1.0</version>
365338
<executions>
366339
<execution>
367340
<id>generate-delomboked-sources-jar</id>
@@ -392,7 +365,6 @@
392365
<plugin>
393366
<groupId>org.codehaus.mojo</groupId>
394367
<artifactId>build-helper-maven-plugin</artifactId>
395-
<version>3.6.0</version>
396368
<executions>
397369
<execution>
398370
<id>attach-delomboked-sources-jar</id>
@@ -441,7 +413,6 @@
441413
<plugin>
442414
<groupId>io.github.git-commit-id</groupId>
443415
<artifactId>git-commit-id-maven-plugin</artifactId>
444-
<version>8.0.2</version>
445416
<executions>
446417
<execution>
447418
<id>get-the-git-infos</id>
@@ -462,12 +433,10 @@
462433
<plugin>
463434
<groupId>org.apache.maven.plugins</groupId>
464435
<artifactId>maven-compiler-plugin</artifactId>
465-
<version>3.13.0</version>
466436
</plugin>
467437
<plugin>
468438
<groupId>org.codehaus.mojo</groupId>
469439
<artifactId>versions-maven-plugin</artifactId>
470-
<version>2.16.2</version>
471440
<configuration>
472441
<generateBackupPoms>false</generateBackupPoms>
473442
</configuration>
@@ -554,15 +523,13 @@
554523
<plugin>
555524
<groupId>org.apache.maven.plugins</groupId>
556525
<artifactId>maven-surefire-plugin</artifactId>
557-
<version>3.2.5</version>
558526
<configuration>
559527
<argLine>${surefire.jacoco.args}</argLine>
560528
</configuration>
561529
</plugin>
562530
<plugin>
563531
<groupId>org.apache.maven.plugins</groupId>
564532
<artifactId>maven-failsafe-plugin</artifactId>
565-
<version>3.2.5</version>
566533
<configuration>
567534
<argLine>${failsafe.jacoco.args}</argLine>
568535
</configuration>
@@ -578,7 +545,6 @@
578545
<plugin>
579546
<groupId>org.springframework.boot</groupId>
580547
<artifactId>spring-boot-maven-plugin</artifactId>
581-
<version>3.2.5</version>
582548
<configuration>
583549
<image>
584550
<builder>paketobuildpacks/builder-jammy-tiny</builder>
@@ -745,7 +711,6 @@
745711
<plugin>
746712
<groupId>org.springframework.boot</groupId>
747713
<artifactId>spring-boot-maven-plugin</artifactId>
748-
<version>3.2.5</version>
749714
<configuration>
750715
<jvmArguments>-Dvaadin.productionMode</jvmArguments>
751716
</configuration>
@@ -773,7 +738,7 @@
773738
<dependency>
774739
<groupId>org.cftoolsuite.actuator</groupId>
775740
<artifactId>spring-boot-starter-runtime-metadata</artifactId>
776-
<version>0.3.0</version>
741+
<version>0.4.0</version>
777742
</dependency>
778743
</dependencies>
779744
</profile>
@@ -800,7 +765,6 @@
800765
<plugin>
801766
<groupId>org.codehaus.mojo</groupId>
802767
<artifactId>versions-maven-plugin</artifactId>
803-
<version>2.16.2</version>
804768
<reportSets>
805769
<reportSet>
806770
<reports>

src/main/resources/application.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ spring:
99
loadbalancer:
1010
ribbon:
1111
enabled: false
12+
threads:
13+
virtual:
14+
enabled: true
1215

1316
eureka:
1417
client:
@@ -34,7 +37,7 @@ management:
3437
endpoints:
3538
web:
3639
exposure:
37-
include: health,info,httptrace,loggers,metrics,prometheus
40+
include: health,info,httptrace,loggers,metrics,prometheus,sbom
3841
endpoint:
3942
health:
4043
show-details: always
@@ -55,6 +58,9 @@ spring:
5558
cloud:
5659
discovery:
5760
enabled: true
61+
threads:
62+
virtual:
63+
enabled: true
5864

5965
management:
6066
cloudfoundry:

0 commit comments

Comments
 (0)