Skip to content

Commit 1a1fc97

Browse files
committed
Exclude javax.xml.bind API in favor of jakarta.xml.bind API
Closes gh-758
1 parent 68a9813 commit 1a1fc97

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

spring-restdocs-platform/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ dependencies {
1111
api("com.fasterxml.jackson.core:jackson-databind:2.9.5")
1212
api("com.samskivert:jmustache:$jmustacheVersion")
1313
api("commons-codec:commons-codec:1.10")
14+
api("jakarta.xml.bind:jakarta.xml.bind-api:2.3.3")
1415
api("javax.servlet:javax.servlet-api:3.1.0")
1516
api("javax.validation:validation-api:2.0.0.Final")
1617
api("junit:junit:4.12")

spring-restdocs-restassured/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ dependencies {
1010
api(project(":spring-restdocs-core"))
1111
api("io.rest-assured:rest-assured") {
1212
exclude group: "commons-logging", module: "commons-logging"
13+
exclude group: "javax.xml.bind", module: "jaxb-api"
1314
}
14-
15+
implementation("jakarta.xml.bind:jakarta.xml.bind-api")
1516
implementation("org.springframework:spring-web")
1617

1718
internal(platform(project(":spring-restdocs-platform")))

0 commit comments

Comments
 (0)