Skip to content

Commit 60ce922

Browse files
committed
Prohibit major upgrades that are not of interest
Closes gh-24960
1 parent 22e24d9 commit 60ce922

File tree

1 file changed

+84
-0
lines changed

1 file changed

+84
-0
lines changed

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

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ bom {
5454
}
5555
}
5656
library("ANTLR2", "2.7.7") {
57+
prohibit("20030911") {
58+
because "it is old version that used a different versioning scheme"
59+
}
5760
group("antlr") {
5861
modules = [
5962
"antlr"
@@ -110,6 +113,9 @@ bom {
110113
}
111114
}
112115
library("Atomikos", "4.0.6") {
116+
prohibit("[5,)") {
117+
because "our support is deprecated"
118+
}
113119
group("com.atomikos") {
114120
modules = [
115121
"transactions-jdbc",
@@ -325,13 +331,19 @@ bom {
325331
}
326332
}
327333
library("Glassfish EL", "3.0.3") {
334+
prohibit("[4.0.0-RC1,)") {
335+
because "it uses the jakarta.* namespace"
336+
}
328337
group("org.glassfish") {
329338
modules = [
330339
"jakarta.el"
331340
]
332341
}
333342
}
334343
library("Glassfish JAXB", "2.3.3") {
344+
prohibit("[3.0.0-M1,)") {
345+
because "it uses the jakarta.* namespace"
346+
}
335347
group("org.glassfish.jaxb") {
336348
modules = [
337349
"codemodel",
@@ -392,6 +404,9 @@ bom {
392404
}
393405
}
394406
library("Hibernate", "5.4.27.Final") {
407+
prohibit("[6.0.0.Alpha2,)") {
408+
because "it uses the jakarta.* namespace"
409+
}
395410
group("org.hibernate") {
396411
modules = [
397412
"hibernate-c3p0",
@@ -411,6 +426,9 @@ bom {
411426
}
412427
}
413428
library("Hibernate Validator", "6.2.0.Final") {
429+
prohibit("[7.0.0.Alpha1,)") {
430+
because "it uses the jakarta.* namespace"
431+
}
414432
group("org.hibernate.validator") {
415433
modules = [
416434
"hibernate-validator",
@@ -494,6 +512,9 @@ bom {
494512
}
495513
}
496514
library("Jakarta Activation", "1.2.2") {
515+
prohibit("[2.0.0-rc1,)") {
516+
because "it uses the jakarta.* namespace"
517+
}
497518
group("com.sun.activation") {
498519
modules = [
499520
"jakarta.activation"
@@ -506,104 +527,149 @@ bom {
506527
}
507528
}
508529
library("Jakarta Annotation", "1.3.5") {
530+
prohibit("[2.0.0-RC1,)") {
531+
because "it uses the jakarta.* namespace"
532+
}
509533
group("jakarta.annotation") {
510534
modules = [
511535
"jakarta.annotation-api"
512536
]
513537
}
514538
}
515539
library("Jakarta JMS", "2.0.3") {
540+
prohibit("[3.0.0-RC1,)") {
541+
because "it uses the jakarta.* namespace"
542+
}
516543
group("jakarta.jms") {
517544
modules = [
518545
"jakarta.jms-api"
519546
]
520547
}
521548
}
522549
library("Jakarta Json", "1.1.6") {
550+
prohibit("[2.0.0-RC1,)") {
551+
because "it uses the jakarta.* namespace"
552+
}
523553
group("jakarta.json") {
524554
modules = [
525555
"jakarta.json-api"
526556
]
527557
}
528558
}
529559
library("Jakarta Json Bind", "1.0.2") {
560+
prohibit("[2.0.0-RC1,)") {
561+
because "it uses the jakarta.* namespace"
562+
}
530563
group("jakarta.json.bind") {
531564
modules = [
532565
"jakarta.json.bind-api"
533566
]
534567
}
535568
}
536569
library("Jakarta Mail", "1.6.5") {
570+
prohibit("[2.0.0-RC1,)") {
571+
because "it uses the jakarta.* namespace"
572+
}
537573
group("jakarta.mail") {
538574
modules = [
539575
"jakarta.mail-api"
540576
]
541577
}
542578
}
543579
library("Jakarta Persistence", "2.2.3") {
580+
prohibit("[3.0.0-RC1,)") {
581+
because "it uses the jakarta.* namespace"
582+
}
544583
group("jakarta.persistence") {
545584
modules = [
546585
"jakarta.persistence-api"
547586
]
548587
}
549588
}
550589
library("Jakarta Servlet", "4.0.4") {
590+
prohibit("[5.0.0-M1,)") {
591+
because "it uses the jakarta.* namespace"
592+
}
551593
group("jakarta.servlet") {
552594
modules = [
553595
"jakarta.servlet-api"
554596
]
555597
}
556598
}
557599
library("Jakarta Servlet JSP JSTL", "1.2.7") {
600+
prohibit("[2.0.0-RC1,)") {
601+
because "it uses the jakarta.* namespace"
602+
}
558603
group("jakarta.servlet.jsp.jstl") {
559604
modules = [
560605
"jakarta.servlet.jsp.jstl-api"
561606
]
562607
}
563608
}
564609
library("Jakarta Transaction", "1.3.3") {
610+
prohibit("[2.0.0-RC1,)") {
611+
because "it uses the jakarta.* namespace"
612+
}
565613
group("jakarta.transaction") {
566614
modules = [
567615
"jakarta.transaction-api"
568616
]
569617
}
570618
}
571619
library("Jakarta Validation", "2.0.2") {
620+
prohibit("[3.0.0-M1,)") {
621+
because "it uses the jakarta.* namespace"
622+
}
572623
group("jakarta.validation") {
573624
modules = [
574625
"jakarta.validation-api"
575626
]
576627
}
577628
}
578629
library("Jakarta WebSocket", "1.1.2") {
630+
prohibit("[2.0.0-M1,)") {
631+
because "it uses the jakarta.* namespace"
632+
}
579633
group("jakarta.websocket") {
580634
modules = [
581635
"jakarta.websocket-api"
582636
]
583637
}
584638
}
585639
library("Jakarta WS RS", "2.1.6") {
640+
prohibit("[3.0.0-M1,)") {
641+
because "it uses the jakarta.* namespace"
642+
}
586643
group("jakarta.ws.rs") {
587644
modules = [
588645
"jakarta.ws.rs-api"
589646
]
590647
}
591648
}
592649
library("Jakarta XML Bind", "2.3.3") {
650+
prohibit("[3.0.0-RC1,)") {
651+
because "it uses the jakarta.* namespace"
652+
}
593653
group("jakarta.xml.bind") {
594654
modules = [
595655
"jakarta.xml.bind-api"
596656
]
597657
}
598658
}
599659
library("Jakarta XML SOAP", "1.4.2") {
660+
prohibit("[2.0.0-RC1,)") {
661+
because "it uses the jakarta.* namespace"
662+
}
600663
group("jakarta.xml.soap") {
601664
modules = [
602665
"jakarta.xml.soap-api"
603666
]
604667
}
605668
}
606669
library("Jakarta XML WS", "2.3.3") {
670+
prohibit("[3.0.0-RC1,)") {
671+
because "it uses the jakarta.* namespace"
672+
}
607673
group("jakarta.xml.ws") {
608674
modules = [
609675
"jakarta.xml.ws-api"
@@ -761,6 +827,9 @@ bom {
761827
}
762828
}
763829
library("Jersey", "2.33") {
830+
prohibit("[3.0.0-M1,)") {
831+
because "it uses the jakarta.* namespace"
832+
}
764833
group("org.glassfish.jersey") {
765834
imports = [
766835
"jersey-bom"
@@ -782,13 +851,19 @@ bom {
782851
}
783852
}
784853
library("Jetty Reactive HTTPClient", "1.1.5") {
854+
prohibit("[2,)") {
855+
because "it uses the jakarta.* namespace"
856+
}
785857
group("org.eclipse.jetty") {
786858
modules = [
787859
"jetty-reactive-httpclient"
788860
]
789861
}
790862
}
791863
library("Jetty", "9.4.36.v20210114") {
864+
prohibit("[11.0.0-alpha0,)") {
865+
because "it uses the jakarta.* namespace"
866+
}
792867
group("org.eclipse.jetty") {
793868
imports = [
794869
"jetty-bom"
@@ -1438,6 +1513,9 @@ bom {
14381513
}
14391514
}
14401515
library("SAAJ Impl", "1.5.2") {
1516+
prohibit("[2.0.0-M1,)") {
1517+
because "it uses the jakarta.* namespace"
1518+
}
14411519
group("com.sun.xml.messaging.saaj") {
14421520
modules = [
14431521
"saaj-impl"
@@ -1646,6 +1724,9 @@ bom {
16461724
}
16471725
}
16481726
library("Sun Mail", "1.6.5") {
1727+
prohibit("[2.0.0-RC1,)") {
1728+
because "it uses the jakarta.* namespace"
1729+
}
16491730
group("com.sun.mail") {
16501731
modules = [
16511732
"jakarta.mail"
@@ -1689,6 +1770,9 @@ bom {
16891770
}
16901771
}
16911772
library("Tomcat", "9.0.41") {
1773+
prohibit("[10.0.0-M1,)") {
1774+
because "it uses the jakarta.* namespace"
1775+
}
16921776
group("org.apache.tomcat") {
16931777
modules = [
16941778
"tomcat-annotations-api",

0 commit comments

Comments
 (0)