From 10635ae48984e9017fed3bb02f9406ce358b4ea9 Mon Sep 17 00:00:00 2001 From: Shenoy Pratik Date: Wed, 21 Dec 2022 14:03:01 -0800 Subject: [PATCH] removing explicit jackson dependencies (#1352) Signed-off-by: Shenoy Pratik Signed-off-by: Shenoy Pratik (cherry picked from commit d2a17a3f15e0067910fcd00d7b07129fcec24c04) --- opensearch-observability/build.gradle | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/opensearch-observability/build.gradle b/opensearch-observability/build.gradle index 346f8eaef..d0b7db8e2 100644 --- a/opensearch-observability/build.gradle +++ b/opensearch-observability/build.gradle @@ -23,7 +23,6 @@ buildscript { common_utils_version = System.getProperty("common_utils.version", opensearch_build) kotlin_version = System.getProperty("kotlin.version", "1.6.0") job_scheduler_version = System.getProperty("job_scheduler.version", opensearch_build) - jackson_version = "2.14.1" } repositories { @@ -116,7 +115,6 @@ configurations.all { resolutionStrategy { force "org.jetbrains.kotlin:kotlin-stdlib:${kotlin_version}" force "org.jetbrains.kotlin:kotlin-stdlib-common:${kotlin_version}" - force "com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:${jackson_version}" force "org.mockito:mockito-core:4.6.1" } } @@ -160,11 +158,8 @@ dependencies { implementation group: 'com.google.guava', name: 'guava', version: '31.0.1-jre' implementation 'org.json:json:20220924' implementation group: 'com.github.wnameless.json', name: 'json-flattener', version: '0.15.1' - // json-base, jackson-databind, jackson-annotations are only used by json-flattener. - // see https://github.com/opensearch-project/OpenSearch/issues/5395. + // jackson is coming from core now, https://github.com/opensearch-project/opensearch-plugins/issues/191 implementation group: 'com.github.wnameless.json', name: 'json-base', version: '2.2.1' - implementation "com.fasterxml.jackson.core:jackson-databind:${jackson_version}" - implementation "com.fasterxml.jackson.core:jackson-annotations:${jackson_version}" compileOnly "${group}:opensearch-job-scheduler-spi:${job_scheduler_version}" testImplementation( 'org.assertj:assertj-core:3.16.1',