Skip to content

Commit 47bf218

Browse files
committed
Add prohibit clauses to shut up bomr
1 parent 975674d commit 47bf218

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

spring-boot-project/spring-boot-dependencies/build.gradle

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,9 @@ bom {
390390
}
391391
}
392392
library("Glassfish JSTL", "1.2.6") {
393+
prohibit("[2.0.0-M1,)") {
394+
because "it uses the jakarta.* namespace"
395+
}
393396
group("org.glassfish.web") {
394397
modules = [
395398
"jakarta.servlet.jsp.jstl"
@@ -1277,6 +1280,9 @@ bom {
12771280
}
12781281
}
12791282
library("Micrometer", "1.9.0-M4") {
1283+
prohibit("[2.0.0-M1,)") {
1284+
because "we upgrade in Spring Boot 3.x"
1285+
}
12801286
group("io.micrometer") {
12811287
modules = [
12821288
"micrometer-registry-stackdriver" {
@@ -1663,6 +1669,9 @@ bom {
16631669
}
16641670
}
16651671
library("Spring AMQP", "2.4.3") {
1672+
prohibit("[3.0.0-M1,)") {
1673+
because "it uses Spring Framework 6"
1674+
}
16661675
group("org.springframework.amqp") {
16671676
modules = [
16681677
"spring-amqp",
@@ -1674,6 +1683,9 @@ bom {
16741683
}
16751684
}
16761685
library("Spring Batch", "4.3.5") {
1686+
prohibit("[5.0.0-M1,)") {
1687+
because "it uses Spring Framework 6"
1688+
}
16771689
group("org.springframework.batch") {
16781690
modules = [
16791691
"spring-batch-core",
@@ -1684,13 +1696,19 @@ bom {
16841696
}
16851697
}
16861698
library("Spring Data Bom", "2021.2.0-M4") {
1699+
prohibit("[2022.0.0-M1,)") {
1700+
because "it uses Spring Framework 6"
1701+
}
16871702
group("org.springframework.data") {
16881703
imports = [
16891704
"spring-data-bom"
16901705
]
16911706
}
16921707
}
16931708
library("Spring Framework", "5.3.17") {
1709+
prohibit("[6.0.0-M1,)") {
1710+
because "we upgrade in Spring Boot 3.x"
1711+
}
16941712
group("org.springframework") {
16951713
imports = [
16961714
"spring-framework-bom"
@@ -1706,20 +1724,29 @@ bom {
17061724
}
17071725
}
17081726
library("Spring HATEOAS", "1.5.0-M2") {
1727+
prohibit("[2.0.0-M1,)") {
1728+
because "it uses Spring Framework 6"
1729+
}
17091730
group("org.springframework.hateoas") {
17101731
modules = [
17111732
"spring-hateoas"
17121733
]
17131734
}
17141735
}
17151736
library("Spring Integration", "5.5.10") {
1737+
prohibit("[6.0.0-M1,)") {
1738+
because "it uses Spring Framework 6"
1739+
}
17161740
group("org.springframework.integration") {
17171741
imports = [
17181742
"spring-integration-bom"
17191743
]
17201744
}
17211745
}
17221746
library("Spring Kafka", "2.8.4") {
1747+
prohibit("[3.0.0-M1,)") {
1748+
because "it uses Spring Framework 6"
1749+
}
17231750
group("org.springframework.kafka") {
17241751
modules = [
17251752
"spring-kafka",
@@ -1728,6 +1755,9 @@ bom {
17281755
}
17291756
}
17301757
library("Spring LDAP", "2.4.0-M2") {
1758+
prohibit("[3.0.0-M1,)") {
1759+
because "it uses Spring Framework 6"
1760+
}
17311761
group("org.springframework.ldap") {
17321762
modules = [
17331763
"spring-ldap-core",
@@ -1740,6 +1770,9 @@ bom {
17401770
}
17411771
}
17421772
library("Spring RESTDocs", "2.0.6.RELEASE") {
1773+
prohibit("[3.0.0-M1,)") {
1774+
because "it uses Spring Framework 6"
1775+
}
17431776
group("org.springframework.restdocs") {
17441777
modules = [
17451778
"spring-restdocs-asciidoctor",
@@ -1758,20 +1791,29 @@ bom {
17581791
}
17591792
}
17601793
library("Spring Security", "5.7.0-M3") {
1794+
prohibit("[6.0.0-M1,)") {
1795+
because "it uses Spring Framework 6"
1796+
}
17611797
group("org.springframework.security") {
17621798
imports = [
17631799
"spring-security-bom"
17641800
]
17651801
}
17661802
}
17671803
library("Spring Session Bom", "2021.2.0-M1") {
1804+
prohibit("[2022.0.0-M1,)") {
1805+
because "it uses Spring Framework 6"
1806+
}
17681807
group("org.springframework.session") {
17691808
imports = [
17701809
"spring-session-bom"
17711810
]
17721811
}
17731812
}
17741813
library("Spring WS", "3.1.3") {
1814+
prohibit("[4.0.0-M1,)") {
1815+
because "it uses Spring Framework 6"
1816+
}
17751817
group("org.springframework.ws") {
17761818
modules = [
17771819
"spring-ws-core",

0 commit comments

Comments
 (0)