From 31905de7424fab743867b127d0592f0e54e4c9e4 Mon Sep 17 00:00:00 2001 From: Andriy Redko Date: Tue, 28 May 2024 06:50:06 -0400 Subject: [PATCH] ApacheHttpClient5Transport requires Apache Commons Logging dependency (#1003) Signed-off-by: Andriy Redko --- CHANGELOG.md | 1 + java-client/build.gradle.kts | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a9fe3c5088..5ba151a371 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,7 @@ This section is for maintaining a changelog for all breaking changes for the cli ### Removed ### Fixed +- ApacheHttpClient5Transport requires Apache Commons Logging dependency ([#1003](https://github.com/opensearch-project/opensearch-java/pull/1003)) ### Security diff --git a/java-client/build.gradle.kts b/java-client/build.gradle.kts index 89d052d7dd..cfd9ad3a9d 100644 --- a/java-client/build.gradle.kts +++ b/java-client/build.gradle.kts @@ -169,6 +169,7 @@ dependencies { val jacksonDatabindVersion = "2.17.0" // Apache 2.0 + api("commons-logging:commons-logging:1.3.2") compileOnly("org.opensearch.client", "opensearch-rest-client", opensearchVersion) testImplementation("org.hamcrest:hamcrest:2.2") testImplementation("com.carrotsearch.randomizedtesting:randomizedtesting-runner:2.8.1") {