BAEL 5951: Update Spring Boot 3 Version from release candidate to release version (#13091)

* Update Spring Boot, Spring Native and Native Maven Plugin versions

* BAEL-5951: Spring Boot 3 Sample for Native Image builds incl. Runtime Hints

* BAEL-5951: Configure POMs and add Swagger UI runtime hints

* BAEL-5951: Remove Swagger UI runtime hints

* BAEL-5951: Remove Spring Boot3 parent POM from profiles because of JDK17 dependency during build (building the parent POM is even not necessary)

* BAEL-5951: Add tests

* BAEL-5951: Fix tests (PMD naming conventions)

* BAEL-5951: Update from Spring Boot version 3.0.0-RC1 to 3.0.0 (release)
This commit is contained in:
Ralf Ueberfuhr 2022-11-27 10:58:07 +01:00 committed by GitHub
parent c2a584c737
commit b82aabffc0
3 changed files with 13 additions and 35 deletions

View File

@ -223,29 +223,6 @@
</profile> </profile>
</profiles> </profiles>
<!-- We currently use a Release Candidate, that is not available in Maven Central -->
<repositories>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
<properties> <properties>
<maven-clean-plugin.version>3.2.0</maven-clean-plugin.version> <maven-clean-plugin.version>3.2.0</maven-clean-plugin.version>
<maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version> <maven-compiler-plugin.version>3.10.1</maven-compiler-plugin.version>
@ -253,9 +230,8 @@
<maven-resources-plugin.version>3.3.0</maven-resources-plugin.version> <maven-resources-plugin.version>3.3.0</maven-resources-plugin.version>
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version> <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
<spring-boot.version>3.0.0-M3</spring-boot.version> <spring-boot.version>3.0.0</spring-boot.version>
<junit-jupiter.version>5.8.2</junit-jupiter.version> <junit-jupiter.version>5.8.2</junit-jupiter.version>
<maven-surefire-plugin.version>3.0.0-M7</maven-surefire-plugin.version>
<native-build-tools-plugin.version>0.9.17</native-build-tools-plugin.version> <native-build-tools-plugin.version>0.9.17</native-build-tools-plugin.version>
<java.version>17</java.version> <java.version>17</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source> <maven.compiler.source>${java.version}</maven.compiler.source>

View File

@ -12,7 +12,7 @@
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>parent-boot-3</artifactId> <artifactId>parent-boot-3</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<relativePath>../../parent-boot-3/pom.xml</relativePath> <relativePath>../../parent-boot-3</relativePath>
</parent> </parent>
<dependencies> <dependencies>
@ -23,7 +23,7 @@
<dependency> <dependency>
<groupId>org.springdoc</groupId> <groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId> <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>${spring-doc.version}</version> <version>${springdoc.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
@ -77,10 +77,9 @@
</profiles> </profiles>
<properties> <properties>
<spring-boot.version>3.0.0-RC2</spring-boot.version> <springdoc.version>2.0.0</springdoc.version>
<spring-doc.version>2.0.0-RC1</spring-doc.version> <maven-surefire-plugin.version>3.0.0-M7</maven-surefire-plugin.version>
<native.maven.plugin.version>0.9.17</native.maven.plugin.version> <native.maven.plugin.version>0.9.17</native.maven.plugin.version>
<start-class>com.baeldung.sample.TodoApplication</start-class>
</properties> </properties>
</project> </project>

View File

@ -49,9 +49,11 @@
<artifactId>spring-boot-configuration-processor</artifactId> <artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<!-- depends on javax.servlet, see https://github.com/springdoc/springdoc-openapi/issues/1284 --> <dependency>
<!--<dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-ui</artifactId> --> <groupId>org.springdoc</groupId>
<!-- <version>1.6.9</version> </dependency> --> <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>${springdoc.version}</version>
</dependency>
<dependency> <dependency>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId> <artifactId>lombok</artifactId>
@ -120,7 +122,8 @@
<properties> <properties>
<mapstruct.version>1.5.2.Final</mapstruct.version> <mapstruct.version>1.5.2.Final</mapstruct.version>
<start-class>com.baeldung.sample.TodoApplication</start-class> <springdoc.version>2.0.0</springdoc.version>
<maven-surefire-plugin.version>3.0.0-M7</maven-surefire-plugin.version>
</properties> </properties>
</project> </project>