Skip to content

Commit e0902e3

Browse files
chore(deps): update spring boot to v2.3.0.release (GoogleCloudPlatform#2927)
* chore(deps): update spring boot to v2.3.0.release * Move PORT env var to main app Co-authored-by: averikitsch <akitsch@google.com>
1 parent c6901f0 commit e0902e3

File tree

12 files changed

+20
-20
lines changed

12 files changed

+20
-20
lines changed

appengine-java11/springboot-helloworld/pom.xml

+3-3
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.2.6.RELEASE</version>
42+
<version>2.3.0.RELEASE</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.2.6.RELEASE</version>
73+
<version>2.3.0.RELEASE</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.2.6.RELEASE</version>
82+
<version>2.3.0.RELEASE</version>
8383
<executions>
8484
<execution>
8585
<goals>

appengine-java11/tasks-handler/pom.xml

+4-4
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.2.6.RELEASE</version>
45+
<version>2.3.0.RELEASE</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.2.6.RELEASE</version>
65+
<version>2.3.0.RELEASE</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.2.6.RELEASE</version>
77+
<version>2.3.0.RELEASE</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.2.6.RELEASE</version>
87+
<version>2.3.0.RELEASE</version>
8888
<executions>
8989
<execution>
9090
<goals>

flexible/helloworld-springboot/pom.xml

+4-4
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.2.6.RELEASE</version>
43+
<version>2.3.0.RELEASE</version>
4444
</dependency>
4545
<dependency>
4646
<groupId>org.springframework.boot</groupId>
4747
<artifactId>spring-boot-starter-actuator</artifactId>
48-
<version>2.2.6.RELEASE</version>
48+
<version>2.3.0.RELEASE</version>
4949
</dependency>
5050
<dependency>
5151
<groupId>org.springframework.boot</groupId>
5252
<artifactId>spring-boot-starter-test</artifactId>
53-
<version>2.2.6.RELEASE</version>
53+
<version>2.3.0.RELEASE</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.2.6.RELEASE</version>
69+
<version>2.3.0.RELEASE</version>
7070
<executions>
7171
<execution>
7272
<goals>

run/helloworld/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ limitations under the License.
3232
<!-- Import dependency management from Spring Boot -->
3333
<groupId>org.springframework.boot</groupId>
3434
<artifactId>spring-boot-dependencies</artifactId>
35-
<version>2.2.6.RELEASE</version>
35+
<version>2.3.0.RELEASE</version>
3636
<type>pom</type>
3737
<scope>import</scope>
3838
</dependency>

run/helloworld/src/main/java/com/example/helloworld/HelloworldApplication.java

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ String hello() {
3737
}
3838

3939
public static void main(String[] args) {
40+
String port = System.getenv().getOrDefault("PORT", "8080");
41+
System.setProperty("server.port", port);
4042
SpringApplication.run(HelloworldApplication.class, args);
4143
}
4244
}

run/helloworld/src/main/resources/application.properties

-2
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,3 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
15-
server.port = ${PORT}

run/image-processing/pom.xml

+1-1
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.2.6.RELEASE</version>
38+
<version>2.3.0.RELEASE</version>
3939
<type>pom</type>
4040
<scope>import</scope>
4141
</dependency>

run/markdown-preview/editor/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<!-- Import dependency management from Spring Boot -->
3737
<groupId>org.springframework.boot</groupId>
3838
<artifactId>spring-boot-dependencies</artifactId>
39-
<version>2.2.6.RELEASE</version>
39+
<version>2.3.0.RELEASE</version>
4040
<type>pom</type>
4141
<scope>import</scope>
4242
</dependency>

run/markdown-preview/renderer/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<!-- Import dependency management from Spring Boot -->
3737
<groupId>org.springframework.boot</groupId>
3838
<artifactId>spring-boot-dependencies</artifactId>
39-
<version>2.2.6.RELEASE</version>
39+
<version>2.3.0.RELEASE</version>
4040
<type>pom</type>
4141
<scope>import</scope>
4242
</dependency>

run/pubsub/pom.xml

+1-1
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.2.6.RELEASE</version>
38+
<version>2.3.0.RELEASE</version>
3939
<type>pom</type>
4040
<scope>import</scope>
4141
</dependency>

spanner/spring-data/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ limitations under the License.
6161
<plugin>
6262
<groupId>org.springframework.boot</groupId>
6363
<artifactId>spring-boot-maven-plugin</artifactId>
64-
<version>2.2.6.RELEASE</version>
64+
<version>2.3.0.RELEASE</version>
6565
<configuration>
6666
<mainClass>com.example.spanner.QuickStartSample</mainClass>
6767
</configuration>

vision/spring-framework/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ limitations under the License.
1919
<properties>
2020
<maven.compiler.target>1.8</maven.compiler.target>
2121
<maven.compiler.source>1.8</maven.compiler.source>
22-
<spring.version>2.2.6.RELEASE</spring.version>
22+
<spring.version>2.3.0.RELEASE</spring.version>
2323
</properties>
2424

2525
<!--

0 commit comments

Comments
 (0)