diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index db66894bb6..e16bd451cb 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -390,6 +390,9 @@ bom { } } library("Glassfish JSTL", "1.2.6") { + prohibit("[2.0.0-M1,)") { + because "it uses the jakarta.* namespace" + } group("org.glassfish.web") { modules = [ "jakarta.servlet.jsp.jstl" @@ -1277,6 +1280,9 @@ bom { } } library("Micrometer", "1.9.0-M4") { + prohibit("[2.0.0-M1,)") { + because "we upgrade in Spring Boot 3.x" + } group("io.micrometer") { modules = [ "micrometer-registry-stackdriver" { @@ -1663,6 +1669,9 @@ bom { } } library("Spring AMQP", "2.4.3") { + prohibit("[3.0.0-M1,)") { + because "it uses Spring Framework 6" + } group("org.springframework.amqp") { modules = [ "spring-amqp", @@ -1674,6 +1683,9 @@ bom { } } library("Spring Batch", "4.3.5") { + prohibit("[5.0.0-M1,)") { + because "it uses Spring Framework 6" + } group("org.springframework.batch") { modules = [ "spring-batch-core", @@ -1684,6 +1696,9 @@ bom { } } library("Spring Data Bom", "2021.2.0-M4") { + prohibit("[2022.0.0-M1,)") { + because "it uses Spring Framework 6" + } group("org.springframework.data") { imports = [ "spring-data-bom" @@ -1691,6 +1706,9 @@ bom { } } library("Spring Framework", "5.3.17") { + prohibit("[6.0.0-M1,)") { + because "we upgrade in Spring Boot 3.x" + } group("org.springframework") { imports = [ "spring-framework-bom" @@ -1706,6 +1724,9 @@ bom { } } library("Spring HATEOAS", "1.5.0-M2") { + prohibit("[2.0.0-M1,)") { + because "it uses Spring Framework 6" + } group("org.springframework.hateoas") { modules = [ "spring-hateoas" @@ -1713,6 +1734,9 @@ bom { } } library("Spring Integration", "5.5.10") { + prohibit("[6.0.0-M1,)") { + because "it uses Spring Framework 6" + } group("org.springframework.integration") { imports = [ "spring-integration-bom" @@ -1720,6 +1744,9 @@ bom { } } library("Spring Kafka", "2.8.4") { + prohibit("[3.0.0-M1,)") { + because "it uses Spring Framework 6" + } group("org.springframework.kafka") { modules = [ "spring-kafka", @@ -1728,6 +1755,9 @@ bom { } } library("Spring LDAP", "2.4.0-M2") { + prohibit("[3.0.0-M1,)") { + because "it uses Spring Framework 6" + } group("org.springframework.ldap") { modules = [ "spring-ldap-core", @@ -1740,6 +1770,9 @@ bom { } } library("Spring RESTDocs", "2.0.6.RELEASE") { + prohibit("[3.0.0-M1,)") { + because "it uses Spring Framework 6" + } group("org.springframework.restdocs") { modules = [ "spring-restdocs-asciidoctor", @@ -1758,6 +1791,9 @@ bom { } } library("Spring Security", "5.7.0-M3") { + prohibit("[6.0.0-M1,)") { + because "it uses Spring Framework 6" + } group("org.springframework.security") { imports = [ "spring-security-bom" @@ -1765,6 +1801,9 @@ bom { } } library("Spring Session Bom", "2021.2.0-M1") { + prohibit("[2022.0.0-M1,)") { + because "it uses Spring Framework 6" + } group("org.springframework.session") { imports = [ "spring-session-bom" @@ -1772,6 +1811,9 @@ bom { } } library("Spring WS", "3.1.3") { + prohibit("[4.0.0-M1,)") { + because "it uses Spring Framework 6" + } group("org.springframework.ws") { modules = [ "spring-ws-core",