Declare an 'implementation' configuration exclusion on 'org.apache.httpcomponents:httpclient' transitive dependency included by Apache Geode.
Apache Geode's core Management functionality and lib (org.apache.geode:gedoe-management) requires and includes the org.apache.httpcomponents:httclient:4.5.13 dependency which is in conflict with core Spring Framework's use of the Apache HttpComponents HttpClient5 (org.apache.httpcomponents.client5:httpclient5) dependency in the spring-web module and HTTP (client) API.
This commit is contained in:
@@ -6,6 +6,10 @@ apply plugin: 'io.spring.convention.spring-module'
|
||||
|
||||
description = "Spring Boot Auto-Configuration for Apache Geode"
|
||||
|
||||
configurations.implementation {
|
||||
exclude group: "org.apache.httpcomponents", module: "httpclient"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
api project(":spring-geode")
|
||||
@@ -23,6 +27,7 @@ dependencies {
|
||||
// See additional testImplementation dependencies declared in the testDependencies project extension
|
||||
// defined in the DependencySetPlugin.
|
||||
testImplementation "jakarta.servlet:jakarta.servlet-api"
|
||||
testImplementation "org.apache.httpcomponents.client5:httpclient5"
|
||||
testImplementation "org.springframework.boot:spring-boot-starter-test"
|
||||
testImplementation "org.springframework.boot:spring-boot-starter-web"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user