We need to find a way to deprecate starters and let the users know. Probably using the build plugins.
spring-boot-starter-oauth2-authorization-server -> spring-boot-starter-security-oauth2-authorization-server
spring-boot-starter-oauth2-client -> spring-boot-starter-security-oauth2-client
spring-boot-starter-oauth2-resource-server -> spring-boot-starter-security-oauth2-resource-server
spring-boot-starter-web-services -> spring-boot-starter-webservices
spring-boot-starter-web -> spring-boot-starter-webmvc
Comment From: mdeinum
Would it help to also use Maven Relocation Support?
Comment From: ciscoo
A resolution rule for Gradle I think, there are many listed on Using Resolution Rules.
Could outright replace it for users with Module Replacement:
dependencies {
modules {
module("org.springframework.boot:spring-boot-starter-web") {
replacedBy("org.springframework.boot:spring-boot-starter-webmvc", "spring-boot-starter-web is deprecated")
}
}
}