From 3562e38fd6c8c960a0b71fdd1c6391c58147ef8b Mon Sep 17 00:00:00 2001 From: Andriy Redko Date: Wed, 6 Sep 2023 09:39:00 -0400 Subject: [PATCH] JarHell caused by latest software.amazon.awssdk 2.20.141 Signed-off-by: Andriy Redko --- CHANGELOG.md | 1 + java-client/build.gradle.kts | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 87d1ef96bf..7700287009 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### Removed ### Fixed + - [BUG] JarHell caused by latest software.amazon.awssdk 2.20.141 ([#616](https://github.com/opensearch-project/opensearch-java/pull/616)) ### Security diff --git a/java-client/build.gradle.kts b/java-client/build.gradle.kts index c1cd4a7187..506ac20046 100644 --- a/java-client/build.gradle.kts +++ b/java-client/build.gradle.kts @@ -55,6 +55,12 @@ plugins { } apply(plugin = "opensearch.repositories") +configurations { + all { + exclude(group = "software.amazon.awssdk", module = "third-party-jackson-core") + } +} + checkstyle { toolVersion = "10.0" }