mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-05 00:56:58 +08:00
Upgrade to Jakarta Activation 2.1.0
Closes gh-33045
This commit is contained in:
parent
524d0599b1
commit
b357239861
@ -96,6 +96,9 @@ public class CheckClasspathForProhibitedDependencies extends DefaultTask {
|
||||
if (group.equals("org.apache.geronimo.specs")) {
|
||||
return true;
|
||||
}
|
||||
if (group.equals("com.sun.activation")) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -452,15 +452,7 @@ bom {
|
||||
]
|
||||
}
|
||||
}
|
||||
library("Jakarta Activation", "2.0.1") {
|
||||
prohibit("[2.1.0-RC1,)") {
|
||||
because "it exceeds our Jakarta EE 9 baseline"
|
||||
}
|
||||
group("com.sun.activation") {
|
||||
modules = [
|
||||
"jakarta.activation"
|
||||
]
|
||||
}
|
||||
library("Jakarta Activation", "2.1.0") {
|
||||
group("jakarta.activation") {
|
||||
modules = [
|
||||
"jakarta.activation-api"
|
||||
|
@ -26,7 +26,8 @@ dependencies {
|
||||
optional("org.hibernate.orm:hibernate-core")
|
||||
optional("org.junit.jupiter:junit-jupiter-api")
|
||||
optional("org.seleniumhq.selenium:htmlunit-driver") {
|
||||
exclude group: "commons-logging", module: "commons-logging"
|
||||
exclude(group: "commons-logging", module: "commons-logging")
|
||||
exclude(group: "com.sun.activation", module: "jakarta.activation")
|
||||
}
|
||||
optional("org.seleniumhq.selenium:selenium-api")
|
||||
optional("org.springframework:spring-orm")
|
||||
|
@ -29,6 +29,7 @@ dependencies {
|
||||
optional("org.skyscreamer:jsonassert")
|
||||
optional("org.seleniumhq.selenium:htmlunit-driver") {
|
||||
exclude(group: "commons-logging", module: "commons-logging")
|
||||
exclude(group: "com.sun.activation", module: "jakarta.activation")
|
||||
}
|
||||
optional("org.seleniumhq.selenium:selenium-api")
|
||||
optional("org.springframework:spring-test")
|
||||
|
@ -19,5 +19,6 @@ dependencies {
|
||||
testImplementation("org.seleniumhq.selenium:selenium-api")
|
||||
testImplementation("org.seleniumhq.selenium:htmlunit-driver") {
|
||||
exclude group: "commons-logging", module: "commons-logging"
|
||||
exclude(group: "com.sun.activation", module: "jakarta.activation")
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user