diff --git a/spring-boot-project/spring-boot-starters/spring-boot-starter-data-solr/build.gradle b/spring-boot-project/spring-boot-starters/spring-boot-starter-data-solr/build.gradle index c7517eb78f..83a0fd37f3 100644 --- a/spring-boot-project/spring-boot-starters/spring-boot-starter-data-solr/build.gradle +++ b/spring-boot-project/spring-boot-starters/spring-boot-starter-data-solr/build.gradle @@ -6,11 +6,8 @@ description = "Starter for using the Apache Solr search platform with Spring Dat dependencies { api(project(":spring-boot-project:spring-boot-starters:spring-boot-starter")) - api("org.apache.solr:solr-solrj") { - exclude group: "org.slf4j", module: "jcl-over-slf4j" - } - api("org.springframework.data:spring-data-solr") - api("org.apache.httpcomponents:httpmime") { + api("org.springframework.data:spring-data-solr") { exclude group: "commons-logging", module: "commons-logging" + exclude group: "org.slf4j", module: "jcl-over-slf4j" } }