Skip to content

Commit a09b232

Browse files
Upgrade Spring Boot from 2.7.5 to 3.0.0 in /api-first-server
* Bump spring-boot-starter-parent from 2.7.5 to 3.0.0 in /api-first-server Bumps [spring-boot-starter-parent](https://github.com/spring-projects/spring-boot) from 2.7.5 to 3.0.0. - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](spring-projects/spring-boot@v2.7.5...v3.0.0) --- updated-dependencies: - dependency-name: org.springframework.boot:spring-boot-starter-parent dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Updated pom to relect spring boot version 3.0.0 Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: amrutprabhu <amrutprabhu42@gmail.com>
1 parent 835f2d8 commit a09b232

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

api-first-server/pom.xml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>2.7.5</version>
8+
<version>3.0.0</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>com.amrut.prabhu</groupId>
@@ -27,20 +27,13 @@
2727
<groupId>org.springframework.boot</groupId>
2828
<artifactId>spring-boot-starter-web</artifactId>
2929
</dependency>
30-
<!-- spring data is needed because
31-
there is currently a bug for this:
32-
https://github.com/OpenAPITools/openapi-generator/issues/8360 -->
33-
<dependency>
34-
<groupId>org.springframework.boot</groupId>
35-
<artifactId>spring-boot-starter-data-jdbc</artifactId>
36-
</dependency>
3730
<dependency>
3831
<groupId>com.h2database</groupId>
3932
<artifactId>h2</artifactId>
4033
</dependency>
4134
<dependency>
42-
<groupId>javax.validation</groupId>
43-
<artifactId>validation-api</artifactId>
35+
<groupId>jakarta.validation</groupId>
36+
<artifactId>jakarta.validation-api</artifactId>
4437
</dependency>
4538
<dependency>
4639
<groupId>io.springfox</groupId>
@@ -92,6 +85,8 @@
9285
<supportingFilesToGenerate>ApiUtil.java</supportingFilesToGenerate>
9386
<configOptions>
9487
<delegatePattern>true</delegatePattern>
88+
<!-- to allow migration from Javax to Jakarta-->
89+
<useSpringBoot3>true</useSpringBoot3>
9590
</configOptions>
9691
</configuration>
9792
</execution>

0 commit comments

Comments
 (0)