Browse Source

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
pull/46532/head
Phillip Webb 5 months ago
parent
commit
2517527302
  1. 4
      platform/spring-boot-dependencies/build.gradle
  2. 4
      settings.gradle
  3. 2
      smoke-test/spring-boot-smoke-test-oauth2-authorization-server/build.gradle
  4. 2
      smoke-test/spring-boot-smoke-test-oauth2-client/build.gradle
  5. 2
      smoke-test/spring-boot-smoke-test-oauth2-resource-server/build.gradle
  6. 2
      smoke-test/spring-boot-smoke-test-reactive-oauth2-client/build.gradle
  7. 2
      smoke-test/spring-boot-smoke-test-reactive-oauth2-resource-server/build.gradle
  8. 7
      starter/spring-boot-starter-oauth2-authorization-server/build.gradle
  9. 8
      starter/spring-boot-starter-oauth2-client/build.gradle
  10. 6
      starter/spring-boot-starter-oauth2-resource-server/build.gradle
  11. 28
      starter/spring-boot-starter-security-oauth2-authorization-server/build.gradle
  12. 29
      starter/spring-boot-starter-security-oauth2-client/build.gradle
  13. 27
      starter/spring-boot-starter-security-oauth2-resource-server/build.gradle
  14. 25
      starter/spring-boot-starter-web-services/build.gradle
  15. 2
      starter/spring-boot-starter-web/build.gradle

4
platform/spring-boot-dependencies/build.gradle

@ -2136,6 +2136,9 @@ bom { @@ -2136,6 +2136,9 @@ bom {
"spring-boot-starter-restclient",
"spring-boot-starter-rsocket",
"spring-boot-starter-security",
"spring-boot-starter-security-oauth2-authorization-server",
"spring-boot-starter-security-oauth2-client",
"spring-boot-starter-security-oauth2-resource-server",
"spring-boot-starter-security-saml2",
"spring-boot-starter-sendgrid",
"spring-boot-starter-session-data-mongodb",
@ -2148,6 +2151,7 @@ bom { @@ -2148,6 +2151,7 @@ bom {
"spring-boot-starter-undertow",
"spring-boot-starter-validation",
"spring-boot-starter-web",
"spring-boot-starter-web-services",
"spring-boot-starter-webclient",
"spring-boot-starter-webflux",
"spring-boot-starter-webmvc",

4
settings.gradle

@ -234,6 +234,9 @@ include "starter:spring-boot-starter-reactor-netty" @@ -234,6 +234,9 @@ include "starter:spring-boot-starter-reactor-netty"
include "starter:spring-boot-starter-restclient"
include "starter:spring-boot-starter-rsocket"
include "starter:spring-boot-starter-security"
include "starter:spring-boot-starter-security-oauth2-authorization-server"
include "starter:spring-boot-starter-security-oauth2-client"
include "starter:spring-boot-starter-security-oauth2-resource-server"
include "starter:spring-boot-starter-security-saml2"
include "starter:spring-boot-starter-sendgrid"
include "starter:spring-boot-starter-session-data-mongodb"
@ -246,6 +249,7 @@ include "starter:spring-boot-starter-tomcat" @@ -246,6 +249,7 @@ include "starter:spring-boot-starter-tomcat"
include "starter:spring-boot-starter-undertow"
include "starter:spring-boot-starter-validation"
include "starter:spring-boot-starter-web"
include "starter:spring-boot-starter-web-services"
include "starter:spring-boot-starter-webclient"
include "starter:spring-boot-starter-webflux"
include "starter:spring-boot-starter-webmvc"

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

@ -21,7 +21,7 @@ plugins { @@ -21,7 +21,7 @@ plugins {
description = "Spring Boot OAuth2 Authorization Server smoke test"
dependencies {
implementation(project(":starter:spring-boot-starter-oauth2-authorization-server"))
implementation(project(":starter:spring-boot-starter-security-oauth2-authorization-server"))
testImplementation(project(":starter:spring-boot-starter-test"))
testImplementation("org.apache.httpcomponents.client5:httpclient5")

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

@ -21,7 +21,7 @@ plugins { @@ -21,7 +21,7 @@ plugins {
description = "Spring Boot OAuth2 Client smoke test"
dependencies {
implementation(project(":starter:spring-boot-starter-oauth2-client"))
implementation(project(":starter:spring-boot-starter-security-oauth2-client"))
implementation(project(":starter:spring-boot-starter-webmvc"))
testImplementation(project(":starter:spring-boot-starter-test"))

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

@ -21,7 +21,7 @@ plugins { @@ -21,7 +21,7 @@ plugins {
description = "Spring Boot OAuth2 Resource Server smoke test"
dependencies {
implementation(project(":starter:spring-boot-starter-oauth2-resource-server"))
implementation(project(":starter:spring-boot-starter-security-oauth2-resource-server"))
implementation(project(":starter:spring-boot-starter-webmvc"))
testImplementation(project(":starter:spring-boot-starter-test"))

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

@ -22,7 +22,7 @@ description = "Spring Boot reactive OAuth 2 client smoke test" @@ -22,7 +22,7 @@ description = "Spring Boot reactive OAuth 2 client smoke test"
dependencies {
implementation(project(":starter:spring-boot-starter-actuator"))
implementation(project(":starter:spring-boot-starter-oauth2-client"))
implementation(project(":starter:spring-boot-starter-security-oauth2-client"))
implementation(project(":starter:spring-boot-starter-webflux"))
testImplementation(project(":starter:spring-boot-starter-test"))

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

@ -21,7 +21,7 @@ plugins { @@ -21,7 +21,7 @@ plugins {
description = "Spring Boot reactive OAuth 2 resource server smoke test"
dependencies {
implementation(project(":starter:spring-boot-starter-oauth2-resource-server"))
implementation(project(":starter:spring-boot-starter-security-oauth2-resource-server"))
implementation(project(":starter:spring-boot-starter-webflux"))
testImplementation(project(":starter:spring-boot-starter-test"))

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

@ -18,11 +18,8 @@ plugins { @@ -18,11 +18,8 @@ plugins {
id "org.springframework.boot.starter"
}
description = "Starter for using Spring Authorization Server features"
description = "Starter for using Spring Authorization Server features (deprecated in favor of spring-boot-starter-security-oauth2-authorization-server)"
dependencies {
api(project(":starter:spring-boot-starter-security"))
api(project(":starter:spring-boot-starter-webmvc"))
api(project(":module:spring-boot-security-oauth2-authorization-server"))
api(project(":starter:spring-boot-starter-security-oauth2-authorization-server"))
}

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

@ -18,12 +18,8 @@ plugins { @@ -18,12 +18,8 @@ plugins {
id "org.springframework.boot.starter"
}
description = "Starter for using Spring Security's OAuth2/OpenID Connect client features"
description = "Starter for using Spring Security's OAuth2/OpenID Connect client features (deprecated in favor of spring-boot-starter-security-oauth2-client)"
dependencies {
api(project(":starter:spring-boot-starter-security"))
api(project(":module:spring-boot-security-oauth2-client"))
api("org.springframework.security:spring-security-oauth2-jose")
api(project(":starter:spring-boot-starter-security-oauth2-client"))
}

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

@ -18,10 +18,8 @@ plugins { @@ -18,10 +18,8 @@ plugins {
id "org.springframework.boot.starter"
}
description = "Starter for using Spring Security's OAuth2 resource server features"
description = "Starter for using Spring Security's OAuth2 resource server features (deprecated in favor of spring-boot-starter-security-oauth2-resource-server)"
dependencies {
api(project(":starter:spring-boot-starter-security"))
api(project(":module:spring-boot-security-oauth2-resource-server"))
api(project(":starter:spring-boot-starter-security-oauth2-resource-server"))
}

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

@ -0,0 +1,28 @@ @@ -0,0 +1,28 @@
/*
* Copyright 2012-present the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the License);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
plugins {
id "org.springframework.boot.starter"
}
description = "Starter for using Spring Authorization Server features"
dependencies {
api(project(":starter:spring-boot-starter-security"))
api(project(":starter:spring-boot-starter-webmvc"))
api(project(":module:spring-boot-security-oauth2-authorization-server"))
}

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

@ -0,0 +1,29 @@ @@ -0,0 +1,29 @@
/*
* Copyright 2012-present the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the License);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
plugins {
id "org.springframework.boot.starter"
}
description = "Starter for using Spring Security's OAuth2/OpenID Connect client features"
dependencies {
api(project(":starter:spring-boot-starter-security"))
api(project(":module:spring-boot-security-oauth2-client"))
api("org.springframework.security:spring-security-oauth2-jose")
}

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

@ -0,0 +1,27 @@ @@ -0,0 +1,27 @@
/*
* Copyright 2012-present the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the License);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
plugins {
id "org.springframework.boot.starter"
}
description = "Starter for using Spring Security's OAuth2 resource server features"
dependencies {
api(project(":starter:spring-boot-starter-security"))
api(project(":module:spring-boot-security-oauth2-resource-server"))
}

25
starter/spring-boot-starter-web-services/build.gradle

@ -0,0 +1,25 @@ @@ -0,0 +1,25 @@
/*
* Copyright 2012-present the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the License);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
plugins {
id "org.springframework.boot.starter"
}
description = "Starter for using Spring Web Services (deprecated in favor of spring-boot-starter-webservices)"
dependencies {
api(project(":starter:spring-boot-starter-webservices"))
}

2
starter/spring-boot-starter-web/build.gradle

@ -18,7 +18,7 @@ plugins { @@ -18,7 +18,7 @@ plugins {
id "org.springframework.boot.starter"
}
description = "Starter for building web, including RESTful, applications using Spring MVC. Uses Tomcat as the default embedded container"
description = "Starter for building web, including RESTful, applications using Spring MVC. Uses Tomcat as the default embedded container (deprecated in favor of spring-boot-starter-webmvc)"
dependencies {
api(project(":starter:spring-boot-starter-webmvc"))

Loading…
Cancel
Save