Skip to content

Commit 2517527

Browse files
committed
Align starters names and provide deprecated versions
Ensure starters are aligned with modules and introduce deprecated versions for an easier upgrade experience. See gh-46245
1 parent 81a4a33 commit 2517527

File tree

15 files changed

+129
-21
lines changed

15 files changed

+129
-21
lines changed

platform/spring-boot-dependencies/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2136,6 +2136,9 @@ bom {
21362136
"spring-boot-starter-restclient",
21372137
"spring-boot-starter-rsocket",
21382138
"spring-boot-starter-security",
2139+
"spring-boot-starter-security-oauth2-authorization-server",
2140+
"spring-boot-starter-security-oauth2-client",
2141+
"spring-boot-starter-security-oauth2-resource-server",
21392142
"spring-boot-starter-security-saml2",
21402143
"spring-boot-starter-sendgrid",
21412144
"spring-boot-starter-session-data-mongodb",
@@ -2148,6 +2151,7 @@ bom {
21482151
"spring-boot-starter-undertow",
21492152
"spring-boot-starter-validation",
21502153
"spring-boot-starter-web",
2154+
"spring-boot-starter-web-services",
21512155
"spring-boot-starter-webclient",
21522156
"spring-boot-starter-webflux",
21532157
"spring-boot-starter-webmvc",

settings.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,9 @@ include "starter:spring-boot-starter-reactor-netty"
234234
include "starter:spring-boot-starter-restclient"
235235
include "starter:spring-boot-starter-rsocket"
236236
include "starter:spring-boot-starter-security"
237+
include "starter:spring-boot-starter-security-oauth2-authorization-server"
238+
include "starter:spring-boot-starter-security-oauth2-client"
239+
include "starter:spring-boot-starter-security-oauth2-resource-server"
237240
include "starter:spring-boot-starter-security-saml2"
238241
include "starter:spring-boot-starter-sendgrid"
239242
include "starter:spring-boot-starter-session-data-mongodb"
@@ -246,6 +249,7 @@ include "starter:spring-boot-starter-tomcat"
246249
include "starter:spring-boot-starter-undertow"
247250
include "starter:spring-boot-starter-validation"
248251
include "starter:spring-boot-starter-web"
252+
include "starter:spring-boot-starter-web-services"
249253
include "starter:spring-boot-starter-webclient"
250254
include "starter:spring-boot-starter-webflux"
251255
include "starter:spring-boot-starter-webmvc"

smoke-test/spring-boot-smoke-test-oauth2-authorization-server/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ plugins {
2121
description = "Spring Boot OAuth2 Authorization Server smoke test"
2222

2323
dependencies {
24-
implementation(project(":starter:spring-boot-starter-oauth2-authorization-server"))
24+
implementation(project(":starter:spring-boot-starter-security-oauth2-authorization-server"))
2525

2626
testImplementation(project(":starter:spring-boot-starter-test"))
2727
testImplementation("org.apache.httpcomponents.client5:httpclient5")

smoke-test/spring-boot-smoke-test-oauth2-client/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ plugins {
2121
description = "Spring Boot OAuth2 Client smoke test"
2222

2323
dependencies {
24-
implementation(project(":starter:spring-boot-starter-oauth2-client"))
24+
implementation(project(":starter:spring-boot-starter-security-oauth2-client"))
2525
implementation(project(":starter:spring-boot-starter-webmvc"))
2626

2727
testImplementation(project(":starter:spring-boot-starter-test"))

smoke-test/spring-boot-smoke-test-oauth2-resource-server/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ plugins {
2121
description = "Spring Boot OAuth2 Resource Server smoke test"
2222

2323
dependencies {
24-
implementation(project(":starter:spring-boot-starter-oauth2-resource-server"))
24+
implementation(project(":starter:spring-boot-starter-security-oauth2-resource-server"))
2525
implementation(project(":starter:spring-boot-starter-webmvc"))
2626

2727
testImplementation(project(":starter:spring-boot-starter-test"))

smoke-test/spring-boot-smoke-test-reactive-oauth2-client/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ description = "Spring Boot reactive OAuth 2 client smoke test"
2222

2323
dependencies {
2424
implementation(project(":starter:spring-boot-starter-actuator"))
25-
implementation(project(":starter:spring-boot-starter-oauth2-client"))
25+
implementation(project(":starter:spring-boot-starter-security-oauth2-client"))
2626
implementation(project(":starter:spring-boot-starter-webflux"))
2727

2828
testImplementation(project(":starter:spring-boot-starter-test"))

smoke-test/spring-boot-smoke-test-reactive-oauth2-resource-server/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ plugins {
2121
description = "Spring Boot reactive OAuth 2 resource server smoke test"
2222

2323
dependencies {
24-
implementation(project(":starter:spring-boot-starter-oauth2-resource-server"))
24+
implementation(project(":starter:spring-boot-starter-security-oauth2-resource-server"))
2525
implementation(project(":starter:spring-boot-starter-webflux"))
2626

2727
testImplementation(project(":starter:spring-boot-starter-test"))

starter/spring-boot-starter-oauth2-authorization-server/build.gradle

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,8 @@ plugins {
1818
id "org.springframework.boot.starter"
1919
}
2020

21-
description = "Starter for using Spring Authorization Server features"
21+
description = "Starter for using Spring Authorization Server features (deprecated in favor of spring-boot-starter-security-oauth2-authorization-server)"
2222

2323
dependencies {
24-
api(project(":starter:spring-boot-starter-security"))
25-
api(project(":starter:spring-boot-starter-webmvc"))
26-
27-
api(project(":module:spring-boot-security-oauth2-authorization-server"))
24+
api(project(":starter:spring-boot-starter-security-oauth2-authorization-server"))
2825
}

starter/spring-boot-starter-oauth2-client/build.gradle

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,8 @@ plugins {
1818
id "org.springframework.boot.starter"
1919
}
2020

21-
description = "Starter for using Spring Security's OAuth2/OpenID Connect client features"
21+
description = "Starter for using Spring Security's OAuth2/OpenID Connect client features (deprecated in favor of spring-boot-starter-security-oauth2-client)"
2222

2323
dependencies {
24-
api(project(":starter:spring-boot-starter-security"))
25-
26-
api(project(":module:spring-boot-security-oauth2-client"))
27-
28-
api("org.springframework.security:spring-security-oauth2-jose")
24+
api(project(":starter:spring-boot-starter-security-oauth2-client"))
2925
}

starter/spring-boot-starter-oauth2-resource-server/build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@ plugins {
1818
id "org.springframework.boot.starter"
1919
}
2020

21-
description = "Starter for using Spring Security's OAuth2 resource server features"
21+
description = "Starter for using Spring Security's OAuth2 resource server features (deprecated in favor of spring-boot-starter-security-oauth2-resource-server)"
2222

2323
dependencies {
24-
api(project(":starter:spring-boot-starter-security"))
25-
26-
api(project(":module:spring-boot-security-oauth2-resource-server"))
24+
api(project(":starter:spring-boot-starter-security-oauth2-resource-server"))
2725
}

0 commit comments

Comments
 (0)