File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ dependencies {
3939 implementation(" org.springframework.boot:spring-boot-starter-web:${ springBootVersion} " ) {
4040 exclude group : " org.springframework.boot" , module : " spring-boot-starter-json" // Not used (?) and pulls in an old version of Jackson
4141 exclude group : " jakarta.annotation" , module : " jakarta.annotation-api" // Already present in tomcat-annotations-api
42+ exclude group : " org.apache.tomcat.embed" , module : " tomcat-embed-core" // We want to force apacheTomcatVersion
4243 }
4344
4445 // Allows forcing a Spring Framework version that differs from spring-boot's version (e.g., to address CVEs)
@@ -50,6 +51,11 @@ dependencies {
5051
5152 // Allows forcing a Tomcat version that differs from spring-boot's version (e.g., to address CVEs or regressions,
5253 // or to test a Tomcat release candidate)
54+ implementation(' org.apache.tomcat.embed:tomcat-embed-core' ) {
55+ version {
56+ strictly " ${ apacheTomcatVersion} "
57+ }
58+ }
5359 implementation(' org.apache.tomcat.embed:tomcat-embed-el' ) {
5460 version {
5561 strictly " ${ apacheTomcatVersion} "
@@ -59,6 +65,7 @@ dependencies {
5965 version {
6066 strictly " ${ apacheTomcatVersion} "
6167 }
68+ exclude group : " org.apache.tomcat.embed" , module : " tomcat-embed-core" // We want to force apacheTomcatVersion
6269 }
6370 implementation(' org.apache.tomcat:tomcat-annotations-api' ) {
6471 version {
You can’t perform that action at this time.
0 commit comments