Exclude the 'com.sun.xml.bind:jaxb-impl' transitive dependency pulled in my 'org.apache.geode:geode-core'.
The 'jaxb-impl' transitive dependency is producing a duplicate and potential incompatibility problem in a Java 17, Jakarta EE 10 environment. JPA provider Hibernate 6.1.5.Final, pulled in by spring-boot-starter-data-jpa also pulls in JAXB, but the Glassfish JAXB dependency.
This commit is contained in:
@@ -10,7 +10,9 @@ dependencies {
|
||||
|
||||
compileOnly "com.google.code.findbugs:jsr305:$findbugsVersion"
|
||||
|
||||
implementation project(":spring-geode-starter")
|
||||
implementation(project(":spring-geode-starter")) {
|
||||
exclude group: "com.sun.xml.bind", module: "jaxb-impl"
|
||||
}
|
||||
|
||||
implementation "org.projectlombok:lombok"
|
||||
implementation "jakarta.persistence:jakarta.persistence-api"
|
||||
|
||||
@@ -8,7 +8,9 @@ description = "Spring Geode Sample demonstrating Spring's Cache Abstraction usin
|
||||
|
||||
dependencies {
|
||||
|
||||
implementation project(":spring-geode-starter")
|
||||
implementation(project(":spring-geode-starter")) {
|
||||
exclude group: "com.sun.xml.bind", module: "jaxb-impl"
|
||||
}
|
||||
|
||||
implementation "org.projectlombok:lombok"
|
||||
implementation "org.springframework.boot:spring-boot-starter-data-jpa"
|
||||
|
||||
@@ -8,7 +8,9 @@ description = "Smoke Tests to assert that a multi-store Spring Data project usin
|
||||
|
||||
dependencies {
|
||||
|
||||
implementation project(':spring-geode-starter')
|
||||
implementation(project(":spring-geode-starter")) {
|
||||
exclude group: "com.sun.xml.bind", module: "jaxb-impl"
|
||||
}
|
||||
|
||||
implementation "org.assertj:assertj-core"
|
||||
implementation "org.projectlombok:lombok"
|
||||
|
||||
Reference in New Issue
Block a user