Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Commit dd6a3d4

Browse files
authored
Update sample projects to Spring Boot 2.3.0 (#400)
* Update sample to Spring Boot 2.3.0 * Add new validation starter
1 parent cb758f0 commit dd6a3d4

File tree

6 files changed

+24
-10
lines changed

6 files changed

+24
-10
lines changed

samples/java-webflux/pom.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.springframework.boot</groupId>
99
<artifactId>spring-boot-starter-parent</artifactId>
10-
<version>2.2.6.RELEASE</version>
10+
<version>2.3.0.RELEASE</version>
1111
<relativePath/>
1212
</parent>
1313

@@ -48,6 +48,10 @@
4848
<groupId>org.springframework.boot</groupId>
4949
<artifactId>spring-boot-starter-webflux</artifactId>
5050
</dependency>
51+
<dependency>
52+
<groupId>org.springframework.boot</groupId>
53+
<artifactId>spring-boot-starter-validation</artifactId>
54+
</dependency>
5155
<dependency>
5256
<groupId>org.springframework.boot</groupId>
5357
<artifactId>spring-boot-autoconfigure</artifactId>
@@ -145,7 +149,7 @@
145149
<plugin>
146150
<groupId>org.springframework.boot</groupId>
147151
<artifactId>spring-boot-maven-plugin</artifactId>
148-
<version>2.2.4.RELEASE</version>
152+
<version>2.3.0.RELEASE</version>
149153
</plugin>
150154
<plugin>
151155
<artifactId>maven-surefire-plugin</artifactId>

samples/java-webmvc/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ buildscript {
22
ext {
33
springAutoRestDocsVersion = "2.0.9-SNAPSHOT"
44
springRestDocsVersion = "2.0.4.RELEASE"
5-
springBootVersion = "2.2.6.RELEASE"
5+
springBootVersion = "2.3.0.RELEASE"
66
}
77
repositories {
88
jcenter()
@@ -47,6 +47,7 @@ repositories {
4747

4848
dependencies {
4949
implementation "org.springframework.boot:spring-boot-starter-web"
50+
implementation "org.springframework.boot:spring-boot-starter-validation"
5051
implementation "org.springframework.boot:spring-boot-starter-security"
5152
implementation "org.springframework.security.oauth:spring-security-oauth2:2.3.5.RELEASE"
5253
implementation "org.springframework.data:spring-data-commons"

samples/java-webmvc/pom.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.springframework.boot</groupId>
99
<artifactId>spring-boot-starter-parent</artifactId>
10-
<version>2.2.6.RELEASE</version>
10+
<version>2.3.0.RELEASE</version>
1111
<relativePath/>
1212
</parent>
1313

@@ -48,6 +48,10 @@
4848
<groupId>org.springframework.boot</groupId>
4949
<artifactId>spring-boot-starter-web</artifactId>
5050
</dependency>
51+
<dependency>
52+
<groupId>org.springframework.boot</groupId>
53+
<artifactId>spring-boot-starter-validation</artifactId>
54+
</dependency>
5155
<dependency>
5256
<groupId>org.springframework.boot</groupId>
5357
<artifactId>spring-boot-starter-security</artifactId>
@@ -158,7 +162,7 @@
158162
<plugin>
159163
<groupId>org.springframework.boot</groupId>
160164
<artifactId>spring-boot-maven-plugin</artifactId>
161-
<version>2.2.4.RELEASE</version>
165+
<version>2.3.0.RELEASE</version>
162166
</plugin>
163167
<plugin>
164168
<artifactId>maven-surefire-plugin</artifactId>

samples/kotlin-webmvc/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
buildscript {
22
ext {
3-
kotlinVersion = "1.3.71"
3+
kotlinVersion = "1.3.72"
44
springAutoRestDocsVersion = "2.0.9-SNAPSHOT"
55
springRestDocsVersion = "2.0.4.RELEASE"
6-
springBootVersion = "2.2.6.RELEASE"
6+
springBootVersion = "2.3.0.RELEASE"
77
dokkaPluginVersion = "0.10.1"
88
}
99
repositories {
@@ -55,6 +55,7 @@ repositories {
5555
dependencies {
5656
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
5757
implementation "org.springframework.boot:spring-boot-starter-web"
58+
implementation "org.springframework.boot:spring-boot-starter-validation"
5859
implementation "org.springframework.boot:spring-boot-starter-security"
5960
implementation "org.springframework.security.oauth:spring-security-oauth2:2.3.5.RELEASE"
6061
implementation "org.springframework.data:spring-data-commons"

samples/kotlin-webmvc/pom.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.springframework.boot</groupId>
99
<artifactId>spring-boot-starter-parent</artifactId>
10-
<version>2.2.6.RELEASE</version>
10+
<version>2.3.0.RELEASE</version>
1111
<relativePath/>
1212
</parent>
1313

@@ -35,7 +35,7 @@
3535
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3636
<spring-restdocs.version>2.0.4.RELEASE</spring-restdocs.version>
3737
<spring-auto-restdocs.version>2.0.9-SNAPSHOT</spring-auto-restdocs.version>
38-
<kotlin.version>1.3.71</kotlin.version>
38+
<kotlin.version>1.3.72</kotlin.version>
3939
<dokka.version>0.10.1</dokka.version>
4040
<jsonDirectory>${project.build.directory}/generated-javadoc-json</jsonDirectory>
4141
</properties>
@@ -50,6 +50,10 @@
5050
<groupId>org.springframework.boot</groupId>
5151
<artifactId>spring-boot-starter-web</artifactId>
5252
</dependency>
53+
<dependency>
54+
<groupId>org.springframework.boot</groupId>
55+
<artifactId>spring-boot-starter-validation</artifactId>
56+
</dependency>
5357
<dependency>
5458
<groupId>org.springframework.boot</groupId>
5559
<artifactId>spring-boot-starter-security</artifactId>

samples/shared/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.springframework.boot</groupId>
99
<artifactId>spring-boot-starter-parent</artifactId>
10-
<version>2.2.6.RELEASE</version>
10+
<version>2.3.0.RELEASE</version>
1111
<relativePath/>
1212
</parent>
1313

0 commit comments

Comments
 (0)