From 20d4d8d1f1baa5715bf8806cefab6e563d2c68ab Mon Sep 17 00:00:00 2001 From: Shenoy Pratik Date: Wed, 21 Dec 2022 12:03:56 -0800 Subject: [PATCH] removing explicit jackson dependencies Signed-off-by: Shenoy Pratik --- 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 45d22922d..3e1ad3870 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 { @@ -140,7 +139,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" force "org.yaml:snakeyaml:1.32" } @@ -185,11 +183,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',