Skip to content

Commit

Permalink
Upgrade to Spring Boot 3.3 (#427)
Browse files Browse the repository at this point in the history
  • Loading branch information
pacphi authored May 25, 2024
1 parent a5beb15 commit 6ba5565
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 33 deletions.
34 changes: 2 additions & 32 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.2.5</version>
<version>3.3.0</version>
<relativePath/>
<!-- lookup parent from repository -->
</parent>
Expand All @@ -67,16 +67,10 @@

<properties>
<java.version>21</java.version>
<commons-lang3.version>3.14.0</commons-lang3.version>
<jackson-bom.version>2.17.0</jackson-bom.version>
<logback.version>1.4.14</logback.version>
<mockito.version>5.11.0</mockito.version>
<snakeyaml.version>2.2</snakeyaml.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<lombok.version>1.18.32</lombok.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -144,7 +138,6 @@
<dependency>
<groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId>
<version>3.1.8</version>
</dependency>
<dependency>
<groupId>io.projectreactor</groupId>
Expand All @@ -154,7 +147,6 @@
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.25.3</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -249,19 +241,6 @@
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<version>2.8.0</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>makeAggregateBom</goal>
</goals>
</execution>
</executions>
<configuration>
<outputFormat>json</outputFormat>
<outputName>classes/bom</outputName>
</configuration>
</plugin>
<plugin>
<groupId>org.projectlombok</groupId>
Expand Down Expand Up @@ -311,7 +290,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>generate-delomboked-sources-jar</id>
Expand Down Expand Up @@ -342,7 +320,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.6.0</version>
<executions>
<execution>
<id>attach-delomboked-sources-jar</id>
Expand Down Expand Up @@ -391,7 +368,6 @@
<plugin>
<groupId>io.github.git-commit-id</groupId>
<artifactId>git-commit-id-maven-plugin</artifactId>
<version>8.0.2</version>
<executions>
<execution>
<id>get-the-git-infos</id>
Expand All @@ -412,12 +388,10 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.16.2</version>
<configuration>
<generateBackupPoms>false</generateBackupPoms>
</configuration>
Expand Down Expand Up @@ -530,15 +504,13 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
<configuration>
<argLine>${surefire.jacoco.args}</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.2.5</version>
<configuration>
<argLine>${failsafe.jacoco.args}</argLine>
</configuration>
Expand All @@ -554,7 +526,6 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>3.2.5</version>
<configuration>
<image>
<builder>paketobuildpacks/builder-jammy-tiny</builder>
Expand Down Expand Up @@ -695,7 +666,7 @@
<dependency>
<groupId>org.cftoolsuite.actuator</groupId>
<artifactId>spring-boot-starter-runtime-metadata</artifactId>
<version>0.3.0</version>
<version>0.4.0</version>
</dependency>
</dependencies>
</profile>
Expand All @@ -722,7 +693,6 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.16.2</version>
<reportSets>
<reportSet>
<reports>
Expand Down
8 changes: 7 additions & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ spring:
enabled: false
discovery:
enabled: false
threads:
virtual:
enabled: true

eureka:
client:
Expand All @@ -37,7 +40,7 @@ management:
endpoints:
web:
exposure:
include: health,info,httptrace,loggers,metrics,prometheus
include: health,info,httptrace,loggers,metrics,prometheus,sbom
endpoint:
health:
show-details: always
Expand All @@ -53,6 +56,9 @@ spring:
enabled: true
discovery:
enabled: true
threads:
virtual:
enabled: true

management:
cloudfoundry:
Expand Down

0 comments on commit 6ba5565

Please sign in to comment.