Skip to content

Commit 618c6eb

Browse files
chore(deps): update spring boot to v2.4.0 (GoogleCloudPlatform#4225)
* chore(deps): update spring boot to v2.4.0 * Add Junit to pom * Add junit Co-authored-by: averikitsch <akitsch@google.com>
1 parent 8da04e0 commit 618c6eb

File tree

18 files changed

+72
-36
lines changed

18 files changed

+72
-36
lines changed

appengine-java11/springboot-helloworld/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<!-- Import dependency management from Spring Boot -->
4040
<groupId>org.springframework.boot</groupId>
4141
<artifactId>spring-boot-dependencies</artifactId>
42-
<version>2.3.5.RELEASE</version>
42+
<version>2.4.0</version>
4343
<type>pom</type>
4444
<scope>import</scope>
4545
</dependency>
@@ -70,7 +70,7 @@
7070
<dependency>
7171
<groupId>org.springframework.boot</groupId>
7272
<artifactId>spring-boot-starter-jetty</artifactId>
73-
<version>2.3.5.RELEASE</version>
73+
<version>2.4.0</version>
7474
</dependency>
7575
</dependencies>
7676

@@ -79,7 +79,7 @@
7979
<plugin>
8080
<groupId>org.springframework.boot</groupId>
8181
<artifactId>spring-boot-maven-plugin</artifactId>
82-
<version>2.3.5.RELEASE</version>
82+
<version>2.4.0</version>
8383
<executions>
8484
<execution>
8585
<goals>

appengine-java11/tasks-handler/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ limitations under the License.
4242
<!-- Import dependency management from Spring Boot -->
4343
<groupId>org.springframework.boot</groupId>
4444
<artifactId>spring-boot-dependencies</artifactId>
45-
<version>2.3.5.RELEASE</version>
45+
<version>2.4.0</version>
4646
<type>pom</type>
4747
<scope>import</scope>
4848
</dependency>
@@ -62,7 +62,7 @@ limitations under the License.
6262
<dependency>
6363
<groupId>org.springframework.boot</groupId>
6464
<artifactId>spring-boot-starter-web</artifactId>
65-
<version>2.3.5.RELEASE</version>
65+
<version>2.4.0</version>
6666
<exclusions>
6767
<!-- Exclude the Tomcat dependency -->
6868
<exclusion>
@@ -74,7 +74,7 @@ limitations under the License.
7474
<dependency>
7575
<groupId>org.springframework.boot</groupId>
7676
<artifactId>spring-boot-starter-jetty</artifactId>
77-
<version>2.3.5.RELEASE</version>
77+
<version>2.4.0</version>
7878
</dependency>
7979

8080
</dependencies>
@@ -84,7 +84,7 @@ limitations under the License.
8484
<plugin>
8585
<groupId>org.springframework.boot</groupId>
8686
<artifactId>spring-boot-maven-plugin</artifactId>
87-
<version>2.3.5.RELEASE</version>
87+
<version>2.4.0</version>
8888
<executions>
8989
<execution>
9090
<goals>

appengine-java8/springboot-helloworld/pom.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<properties>
2121
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2222
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
23-
<spring.boot.version>2.3.5.RELEASE</spring.boot.version> <!-- DO NOT UPDATE w/o MANUAL TESTING -->
23+
<spring.boot.version>2.4.0</spring.boot.version> <!-- DO NOT UPDATE w/o MANUAL TESTING -->
2424
<maven.compiler.target>1.8</maven.compiler.target>
2525
<maven.compiler.source>1.8</maven.compiler.source>
2626
</properties>
@@ -60,6 +60,12 @@
6060
<version>${spring.boot.version}</version>
6161
<scope>test</scope>
6262
</dependency>
63+
<dependency>
64+
<groupId>junit</groupId>
65+
<artifactId>junit</artifactId>
66+
<version>4.13.1</version>
67+
<scope>test</scope>
68+
</dependency>
6369
</dependencies>
6470

6571
<dependencyManagement>

cloud-sql/r2dbc/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
<dependency>
108108
<groupId>org.springframework.boot</groupId>
109109
<artifactId>spring-boot-starter-parent</artifactId>
110-
<version>2.3.5.RELEASE</version>
110+
<version>2.4.0</version>
111111
<scope>import</scope>
112112
<type>pom</type>
113113
</dependency>

eventarc/audit-storage/pom.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ limitations under the License.
3535
<!-- Import dependency management from Spring Boot -->
3636
<groupId>org.springframework.boot</groupId>
3737
<artifactId>spring-boot-dependencies</artifactId>
38-
<version>2.3.5.RELEASE</version>
38+
<version>2.4.0</version>
3939
<type>pom</type>
4040
<scope>import</scope>
4141
</dependency>
@@ -69,7 +69,13 @@ limitations under the License.
6969
<artifactId>json</artifactId>
7070
<version>20200518</version>
7171
<scope>test</scope>
72-
</dependency>
72+
</dependency>
73+
<dependency>
74+
<groupId>junit</groupId>
75+
<artifactId>junit</artifactId>
76+
<version>4.13.1</version>
77+
<scope>test</scope>
78+
</dependency>
7379
</dependencies>
7480

7581
<build>

eventarc/generic/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ limitations under the License.
3535
<!-- Import dependency management from Spring Boot -->
3636
<groupId>org.springframework.boot</groupId>
3737
<artifactId>spring-boot-dependencies</artifactId>
38-
<version>2.3.5.RELEASE</version>
38+
<version>2.4.0</version>
3939
<type>pom</type>
4040
<scope>import</scope>
4141
</dependency>

eventarc/pubsub/pom.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ limitations under the License.
3535
<!-- Import dependency management from Spring Boot -->
3636
<groupId>org.springframework.boot</groupId>
3737
<artifactId>spring-boot-dependencies</artifactId>
38-
<version>2.3.5.RELEASE</version>
38+
<version>2.4.0</version>
3939
<type>pom</type>
4040
<scope>import</scope>
4141
</dependency>
@@ -69,7 +69,13 @@ limitations under the License.
6969
<artifactId>json</artifactId>
7070
<version>20200518</version>
7171
<scope>test</scope>
72-
</dependency>
72+
</dependency>
73+
<dependency>
74+
<groupId>junit</groupId>
75+
<artifactId>junit</artifactId>
76+
<version>4.13.1</version>
77+
<scope>test</scope>
78+
</dependency>
7379
</dependencies>
7480

7581
<build>

flexible/helloworld-springboot/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,17 @@
4040
<dependency>
4141
<groupId>org.springframework.boot</groupId>
4242
<artifactId>spring-boot-starter-web</artifactId>
43-
<version>2.3.5.RELEASE</version>
43+
<version>2.4.0</version>
4444
</dependency>
4545
<dependency>
4646
<groupId>org.springframework.boot</groupId>
4747
<artifactId>spring-boot-starter-actuator</artifactId>
48-
<version>2.3.5.RELEASE</version>
48+
<version>2.4.0</version>
4949
</dependency>
5050
<dependency>
5151
<groupId>org.springframework.boot</groupId>
5252
<artifactId>spring-boot-starter-test</artifactId>
53-
<version>2.3.5.RELEASE</version>
53+
<version>2.4.0</version>
5454
<scope>test</scope>
5555
<exclusions>
5656
<exclusion>
@@ -66,7 +66,7 @@
6666
<plugin>
6767
<groupId>org.springframework.boot</groupId>
6868
<artifactId>spring-boot-maven-plugin</artifactId>
69-
<version>2.3.5.RELEASE</version>
69+
<version>2.4.0</version>
7070
<executions>
7171
<execution>
7272
<goals>

pubsub/spring/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<dependency>
4848
<groupId>org.springframework.boot</groupId>
4949
<artifactId>spring-boot-dependencies</artifactId>
50-
<version>2.3.5.RELEASE</version>
50+
<version>2.4.0</version>
5151
<type>pom</type>
5252
<scope>import</scope>
5353
</dependency>
@@ -93,7 +93,7 @@
9393
<plugin>
9494
<groupId>org.springframework.boot</groupId>
9595
<artifactId>spring-boot-maven-plugin</artifactId>
96-
<version>2.3.5.RELEASE</version>
96+
<version>2.4.0</version>
9797
<configuration>
9898
<mainClass>demo.PubSubApplication</mainClass>
9999
</configuration>

run/endpoints-v2-backend/pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ limitations under the License.
4343
<!-- Import dependency management from Spring Boot -->
4444
<groupId>org.springframework.boot</groupId>
4545
<artifactId>spring-boot-dependencies</artifactId>
46-
<version>2.3.5.RELEASE</version>
46+
<version>2.4.0</version>
4747
<type>pom</type>
4848
<scope>import</scope>
4949
</dependency>
@@ -61,14 +61,14 @@ limitations under the License.
6161
<version>1.4.8</version>
6262
</dependency>
6363
<dependency>
64-
<groupId>org.junit.jupiter</groupId>
65-
<artifactId>junit-jupiter-api</artifactId>
66-
<version>5.6.2</version>
64+
<groupId>org.springframework.boot</groupId>
65+
<artifactId>spring-boot-starter-test</artifactId>
6766
<scope>test</scope>
6867
</dependency>
6968
<dependency>
70-
<groupId>org.springframework.boot</groupId>
71-
<artifactId>spring-boot-starter-test</artifactId>
69+
<groupId>junit</groupId>
70+
<artifactId>junit</artifactId>
71+
<version>4.13.1</version>
7272
<scope>test</scope>
7373
</dependency>
7474
</dependencies>

0 commit comments

Comments
 (0)