Skip to content

Commit cafe870

Browse files
author
Rujun Chen
authored
Add docs about how to upgrade spring boot version (Azure#19785)
1 parent d52903b commit cafe870

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

eng/versioning/external_dependencies.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ org.springframework:spring-web;5.3.4
135135
org.springframework:spring-webmvc;5.3.4
136136
org.springframework:spring-webflux;5.3.4
137137

138-
# spring-boot-starter-parent is not managed by spring-boot-dependencies or spring-cloud-dependencies.
139138
org.springframework.boot:spring-boot-starter-parent;2.4.3
140139

141140
## Spring cloud dependency versions

sdk/spring/scripts/spring_managed_external_dependencies.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,6 +1060,7 @@ org.springframework.boot:spring-boot-starter-mail;2.4.3
10601060
org.springframework.boot:spring-boot-starter-mustache;2.4.3
10611061
org.springframework.boot:spring-boot-starter-oauth2-client;2.4.3
10621062
org.springframework.boot:spring-boot-starter-oauth2-resource-server;2.4.3
1063+
org.springframework.boot:spring-boot-starter-parent;2.4.3
10631064
org.springframework.boot:spring-boot-starter-quartz;2.4.3
10641065
org.springframework.boot:spring-boot-starter-reactor-netty;2.4.3
10651066
org.springframework.boot:spring-boot-starter-rsocket;2.4.3

sdk/spring/scripts/update_spring_managed_external_dependencies.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Copyright (c) Microsoft Corporation. All rights reserved.
22
# Licensed under the MIT License.
3-
3+
#
4+
# How to use this script to update spring-boot's version?
5+
# Here are the steps:
6+
# 1. Update ROOT_POMS' version manually.
7+
# 2. Run command "python .\sdk\spring\scripts\update_spring_managed_external_dependencies.py".
8+
# 3. Run command "python .\eng\versioning\update_versions.py --ut external_dependency --sr".
9+
# 4. Verify result by command ".\eng\versioning\pom_file_version_scanner.ps1".
410

511
import argparse
612
import os
@@ -18,6 +24,7 @@
1824

1925
EXTERNAL_DEPENDENCIES_FILE = 'eng/versioning/external_dependencies.txt'
2026
ROOT_POMS = [
27+
'org.springframework.boot:spring-boot-starter-parent;2.4.3',
2128
'org.springframework.boot:spring-boot-dependencies;2.4.3',
2229
'org.springframework.cloud:spring-cloud-dependencies;2020.0.1'
2330
]

0 commit comments

Comments
 (0)