@@ -338,6 +338,12 @@ bom {
338
338
}
339
339
}
340
340
library(" Elasticsearch Client" , " 8.15.5" ) {
341
+ alignWith {
342
+ version {
343
+ from " org.springframework.data:spring-data-elasticsearch"
344
+ managedBy " Spring Data Bom"
345
+ }
346
+ }
341
347
group(" org.elasticsearch.client" ) {
342
348
modules = [
343
349
" elasticsearch-rest-client" {
@@ -456,6 +462,10 @@ bom {
456
462
}
457
463
}
458
464
library(" Groovy" , " 4.0.25" ) {
465
+ prohibit {
466
+ contains " -alpha-"
467
+ because " we don't want alpha dependencies"
468
+ }
459
469
group(" org.apache.groovy" ) {
460
470
imports = [
461
471
" groovy-bom"
@@ -515,6 +525,10 @@ bom {
515
525
}
516
526
}
517
527
library(" Hibernate" , " 6.6.6.Final" ) {
528
+ prohibit {
529
+ versionRange " [7.0.0.Alpha1,)"
530
+ because " it exceeds our Jakarta EE 10 baseline"
531
+ }
518
532
group(" org.hibernate.orm" ) {
519
533
modules = [
520
534
" hibernate-agroal" ,
@@ -547,6 +561,10 @@ bom {
547
561
}
548
562
}
549
563
library(" Hibernate Validator" , " 8.0.2.Final" ) {
564
+ prohibit {
565
+ versionRange " [9.0.0.Beta2,)"
566
+ because " it exceeds our Jakarta EE 10 baseline"
567
+ }
550
568
group(" org.hibernate.validator" ) {
551
569
modules = [
552
570
" hibernate-validator" ,
@@ -673,8 +691,8 @@ bom {
673
691
}
674
692
library(" Jakarta Annotation" , " 2.1.1" ) {
675
693
prohibit {
676
- versionRange " [3.0.0,4.0.0] "
677
- because " it's part of Jakarta EE 11 "
694
+ versionRange " [3.0.0-M1,) "
695
+ because " it exceeds our Jakarta EE 10 baseline "
678
696
}
679
697
group(" jakarta.annotation" ) {
680
698
modules = [
@@ -756,8 +774,8 @@ bom {
756
774
}
757
775
library(" Jakarta Persistence" , " 3.1.0" ) {
758
776
prohibit {
759
- versionRange " [3.2.0-B01,3.2.0] "
760
- because " it's part of Jakarta EE 11 "
777
+ versionRange " [3.2.0-B01,) "
778
+ because " it exceeds our Jakarta EE 10 baseline "
761
779
}
762
780
group(" jakarta.persistence" ) {
763
781
modules = [
@@ -775,8 +793,8 @@ bom {
775
793
}
776
794
library(" Jakarta Servlet" , " 6.0.0" ) {
777
795
prohibit {
778
- versionRange " [6.1.0-M1,6.1.0] "
779
- because " it's part of Jakarta EE 11 "
796
+ versionRange " [6.1.0-M1,) "
797
+ because " it exceeds our Jakarta EE 10 baseline "
780
798
}
781
799
group(" jakarta.servlet" ) {
782
800
modules = [
@@ -813,8 +831,8 @@ bom {
813
831
}
814
832
library(" Jakarta Validation" , " 3.0.2" ) {
815
833
prohibit {
816
- versionRange " [3.1.0-M1,3.2.0] "
817
- because " it's part of Jakarta EE 11 "
834
+ versionRange " [3.1.0-M1,) "
835
+ because " it exceeds our Jakarta EE 10 baseline "
818
836
}
819
837
group(" jakarta.validation" ) {
820
838
modules = [
@@ -829,8 +847,8 @@ bom {
829
847
}
830
848
library(" Jakarta WebSocket" , " 2.1.1" ) {
831
849
prohibit {
832
- versionRange " [2.2.0-M1,2.2.0] "
833
- because " it's part of Jakarta EE 11 "
850
+ versionRange " [2.2.0-M1,) "
851
+ because " it exceeds our Jakarta EE 10 baseline "
834
852
}
835
853
group(" jakarta.websocket" ) {
836
854
modules = [
@@ -848,8 +866,8 @@ bom {
848
866
}
849
867
library(" Jakarta WS RS" , " 3.1.0" ) {
850
868
prohibit {
851
- versionRange " [4.0.0,4.1.0] "
852
- because " it's part of Jakarta EE 11 "
869
+ versionRange " [4.0.0-M2,) "
870
+ because " it exceeds our Jakarta EE 10 baseline "
853
871
}
854
872
group(" jakarta.ws.rs" ) {
855
873
modules = [
@@ -966,6 +984,10 @@ bom {
966
984
}
967
985
}
968
986
library(" Jedis" , " 5.2.0" ) {
987
+ prohibit {
988
+ contains " -beta"
989
+ because " we don't want beta dependencies"
990
+ }
969
991
group(" redis.clients" ) {
970
992
modules = [
971
993
" jedis"
@@ -977,6 +999,10 @@ bom {
977
999
}
978
1000
}
979
1001
library(" Jersey" , " 3.1.10" ) {
1002
+ prohibit {
1003
+ versionRange " [4.0.0-M1,)"
1004
+ because " it exceeds our Jakarta EE 10 baseline"
1005
+ }
980
1006
group(" org.glassfish.jersey" ) {
981
1007
imports = [
982
1008
" jersey-bom"
@@ -996,6 +1022,10 @@ bom {
996
1022
}
997
1023
}
998
1024
library(" Jetty" , " 12.0.16" ) {
1025
+ prohibit {
1026
+ contains " .alpha"
1027
+ because " we don't want alpha dependencies"
1028
+ }
999
1029
group(" org.eclipse.jetty.ee10" ) {
1000
1030
imports = [
1001
1031
" jetty-ee10-bom"
@@ -1062,6 +1092,10 @@ bom {
1062
1092
}
1063
1093
}
1064
1094
library(" JsonAssert" , " 1.5.3" ) {
1095
+ prohibit {
1096
+ contains " -rc"
1097
+ because " we don't want release candidates"
1098
+ }
1065
1099
group(" org.skyscreamer" ) {
1066
1100
modules = [
1067
1101
" jsonassert"
@@ -1090,6 +1124,10 @@ bom {
1090
1124
}
1091
1125
}
1092
1126
library(" JUnit Jupiter" , " ${ junitJupiterVersion} " ) {
1127
+ prohibit {
1128
+ contains " -M"
1129
+ because " we don't want milestones"
1130
+ }
1093
1131
group(" org.junit" ) {
1094
1132
imports = [
1095
1133
" junit-bom"
@@ -1154,6 +1192,10 @@ bom {
1154
1192
}
1155
1193
}
1156
1194
library(" Kotlin" , " ${ kotlinVersion} " ) {
1195
+ prohibit {
1196
+ versionRange " [2.0.0-Beta1,)"
1197
+ because " it exceeds our baseline"
1198
+ }
1157
1199
group(" org.jetbrains.kotlin" ) {
1158
1200
imports = [
1159
1201
" kotlin-bom"
@@ -1170,7 +1212,7 @@ bom {
1170
1212
}
1171
1213
library(" Kotlin Coroutines" , " 1.8.1" ) {
1172
1214
prohibit {
1173
- versionRange " [1.9.0,)"
1215
+ versionRange " [1.9.0-RC ,)"
1174
1216
because " it requires Kotlin 2"
1175
1217
}
1176
1218
group(" org.jetbrains.kotlinx" ) {
@@ -1199,6 +1241,10 @@ bom {
1199
1241
}
1200
1242
}
1201
1243
library(" Lettuce" , " 6.5.3.RELEASE" ) {
1244
+ prohibit {
1245
+ contains " .BETA"
1246
+ because " we don't want betas"
1247
+ }
1202
1248
group(" io.lettuce" ) {
1203
1249
modules = [
1204
1250
" lettuce-core"
@@ -1228,6 +1274,11 @@ bom {
1228
1274
}
1229
1275
}
1230
1276
library(" Log4j2" , " 2.24.3" ) {
1277
+ prohibit {
1278
+ contains " -alpha"
1279
+ contains " -beta"
1280
+ because " we don't want alphas or betas"
1281
+ }
1231
1282
group(" org.apache.logging.log4j" ) {
1232
1283
imports = [
1233
1284
" log4j-bom"
@@ -1294,6 +1345,10 @@ bom {
1294
1345
}
1295
1346
}
1296
1347
library(" Maven Clean Plugin" , " 3.4.0" ) {
1348
+ prohibit {
1349
+ contains " -beta-"
1350
+ because " we don't want betas"
1351
+ }
1297
1352
group(" org.apache.maven.plugins" ) {
1298
1353
plugins = [
1299
1354
" maven-clean-plugin"
@@ -1304,6 +1359,10 @@ bom {
1304
1359
}
1305
1360
}
1306
1361
library(" Maven Compiler Plugin" , " 3.13.0" ) {
1362
+ prohibit {
1363
+ contains " -beta-"
1364
+ because " we don't want betas"
1365
+ }
1307
1366
group(" org.apache.maven.plugins" ) {
1308
1367
plugins = [
1309
1368
" maven-compiler-plugin"
@@ -1324,6 +1383,10 @@ bom {
1324
1383
}
1325
1384
}
1326
1385
library(" Maven Deploy Plugin" , " 3.1.3" ) {
1386
+ prohibit {
1387
+ contains " -beta-"
1388
+ because " we don't want betas"
1389
+ }
1327
1390
group(" org.apache.maven.plugins" ) {
1328
1391
plugins = [
1329
1392
" maven-deploy-plugin"
@@ -1361,6 +1424,10 @@ bom {
1361
1424
}
1362
1425
}
1363
1426
library(" Maven Install Plugin" , " 3.1.3" ) {
1427
+ prohibit {
1428
+ contains " -beta-"
1429
+ because " we don't want betas"
1430
+ }
1364
1431
group(" org.apache.maven.plugins" ) {
1365
1432
plugins = [
1366
1433
" maven-install-plugin"
@@ -1381,6 +1448,10 @@ bom {
1381
1448
}
1382
1449
}
1383
1450
library(" Maven Jar Plugin" , " 3.4.2" ) {
1451
+ prohibit {
1452
+ contains " -beta-"
1453
+ because " we don't want betas"
1454
+ }
1384
1455
group(" org.apache.maven.plugins" ) {
1385
1456
plugins = [
1386
1457
" maven-jar-plugin"
@@ -1401,6 +1472,10 @@ bom {
1401
1472
}
1402
1473
}
1403
1474
library(" Maven Resources Plugin" , " 3.3.1" ) {
1475
+ prohibit {
1476
+ contains " -beta-"
1477
+ because " we don't want betas"
1478
+ }
1404
1479
group(" org.apache.maven.plugins" ) {
1405
1480
plugins = [
1406
1481
" maven-resources-plugin"
@@ -1421,6 +1496,10 @@ bom {
1421
1496
}
1422
1497
}
1423
1498
library(" Maven Source Plugin" , " 3.3.1" ) {
1499
+ prohibit {
1500
+ contains " -beta-"
1501
+ because " we don't want betas"
1502
+ }
1424
1503
group(" org.apache.maven.plugins" ) {
1425
1504
plugins = [
1426
1505
" maven-source-plugin"
@@ -1589,6 +1668,12 @@ bom {
1589
1668
}
1590
1669
}
1591
1670
library(" Netty" , " 4.1.117.Final" ) {
1671
+ prohibit {
1672
+ contains " .Alpha"
1673
+ contains " .Beta"
1674
+ contains " .RC"
1675
+ because " we don't want alphas, betas, or release candidates"
1676
+ }
1592
1677
group(" io.netty" ) {
1593
1678
imports = [
1594
1679
" netty-bom"
@@ -2050,6 +2135,10 @@ bom {
2050
2135
}
2051
2136
}
2052
2137
library(" SendGrid" , " 4.10.3" ) {
2138
+ prohibit {
2139
+ contains " -rc."
2140
+ because " we don't want release candidates"
2141
+ }
2053
2142
group(" com.sendgrid" ) {
2054
2143
modules = [
2055
2144
" sendgrid-java"
@@ -2061,6 +2150,10 @@ bom {
2061
2150
}
2062
2151
}
2063
2152
library(" SLF4J" , " 2.0.16" ) {
2153
+ prohibit {
2154
+ contains " -alpha"
2155
+ because " we don't want alphas"
2156
+ }
2064
2157
group(" org.slf4j" ) {
2065
2158
modules = [
2066
2159
" jcl-over-slf4j" ,
@@ -2136,6 +2229,10 @@ bom {
2136
2229
}
2137
2230
}
2138
2231
library(" Spring Data Bom" , " 2024.1.2" ) {
2232
+ prohibit {
2233
+ versionRange " [2025.1.0-M1,)"
2234
+ because " it exceeds our baseline"
2235
+ }
2139
2236
considerSnapshots()
2140
2237
calendarName = " Spring Data Release"
2141
2238
group(" org.springframework.data" ) {
@@ -2150,6 +2247,10 @@ bom {
2150
2247
}
2151
2248
}
2152
2249
library(" Spring Framework" , " ${ springFrameworkVersion} " ) {
2250
+ prohibit {
2251
+ versionRange " [7.0.0-M1,)"
2252
+ because " it exceeds our baseline"
2253
+ }
2153
2254
considerSnapshots()
2154
2255
group(" org.springframework" ) {
2155
2256
imports = [
@@ -2188,6 +2289,10 @@ bom {
2188
2289
}
2189
2290
}
2190
2291
library(" Spring HATEOAS" , " 2.4.1" ) {
2292
+ prohibit {
2293
+ versionRange " [3.0.0-M1,)"
2294
+ because " it exceeds our baseline"
2295
+ }
2191
2296
considerSnapshots()
2192
2297
group(" org.springframework.hateoas" ) {
2193
2298
modules = [
@@ -2329,6 +2434,10 @@ bom {
2329
2434
startsWith([" Apple-" , " Bean-" , " Corn-" , " Dragonfruit-" ])
2330
2435
because " Spring Session switched to numeric version numbers"
2331
2436
}
2437
+ prohibit {
2438
+ versionRange " [2020.0.0-M1,)"
2439
+ because " Spring Session stopped using calver"
2440
+ }
2332
2441
group(" org.springframework.session" ) {
2333
2442
imports = [
2334
2443
" spring-session-bom"
@@ -2434,6 +2543,10 @@ bom {
2434
2543
}
2435
2544
}
2436
2545
library(" Tomcat" , " ${ tomcatVersion} " ) {
2546
+ prohibit {
2547
+ versionRange " [11.0.0-M1,)"
2548
+ because " it exceeds our Jakarte EE 10 baseline"
2549
+ }
2437
2550
group(" org.apache.tomcat" ) {
2438
2551
modules = [
2439
2552
" tomcat-annotations-api" ,
0 commit comments