From a9ed516760d42f02a7ae9a66e2a96368775eb5c0 Mon Sep 17 00:00:00 2001 From: Andriy Redko Date: Thu, 8 Dec 2022 13:18:41 -0500 Subject: [PATCH] Update Jackson to 2.14.1 and fix dependency resolution issues Signed-off-by: Andriy Redko --- build.gradle | 4 ++-- plugin/build.gradle | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index a9a171da01..b6f64560db 100644 --- a/build.gradle +++ b/build.gradle @@ -8,8 +8,8 @@ buildscript { ext { opensearch_version = System.getProperty("opensearch.version", "2.4.0-SNAPSHOT") spring_version = "5.3.22" - jackson_version = "2.14.0" - jackson_databind_version = "2.14.0" + jackson_version = "2.14.1" + jackson_databind_version = "2.14.1" isSnapshot = "true" == System.getProperty("build.snapshot", "true") buildVersionQualifier = System.getProperty("build.version_qualifier", "") version_tokens = opensearch_version.tokenize('-') diff --git a/plugin/build.gradle b/plugin/build.gradle index d2bdb87275..d689da0f57 100644 --- a/plugin/build.gradle +++ b/plugin/build.gradle @@ -89,6 +89,8 @@ configurations.all { // enforce 1.1.3, https://www.whitesourcesoftware.com/vulnerability-database/WS-2019-0379 resolutionStrategy.force 'commons-codec:commons-codec:1.13' resolutionStrategy.force 'com.google.guava:guava:31.0.1-jre' + resolutionStrategy.force "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${jackson_version}" + resolutionStrategy.force "com.fasterxml.jackson.dataformat:jackson-dataformat-smile:${jackson_version}" resolutionStrategy.force "com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:${jackson_version}" resolutionStrategy.force "com.fasterxml.jackson.core:jackson-databind:${jackson_databind_version}" resolutionStrategy.force "org.jetbrains.kotlin:kotlin-stdlib:1.6.0"