Skip to content

Commit

Permalink
[Backport 1.3] fix jackson databind version: use same version as Open…
Browse files Browse the repository at this point in the history
…Search core (#381)

* fix jackson databind version: use same version as OpenSearch core

Signed-off-by: Yaliang Wu <[email protected]>

* resovle conflict

Signed-off-by: Yaliang Wu <[email protected]>
  • Loading branch information
ylwu-amzn authored Jul 28, 2022
1 parent f18149f commit 5c39b4a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ dependencies {
compile "org.opensearch.client:opensearch-rest-client:${opensearch_version}"
compile "org.opensearch:common-utils:${common_utils_version}"
compile("com.fasterxml.jackson.core:jackson-annotations:${versions.jackson}")
compile("com.fasterxml.jackson.core:jackson-databind:${versions.jackson}")
compile("com.fasterxml.jackson.core:jackson-databind:${versions.jackson_databind}")
implementation group: 'com.google.guava', name: 'guava', version: '31.0.1-jre'
implementation group: 'com.google.code.gson', name: 'gson', version: '2.9.0'

Expand Down Expand Up @@ -253,6 +253,8 @@ configurations.all {
resolutionStrategy.force 'junit:junit:4.12'
resolutionStrategy.force 'org.apache.commons:commons-lang3:3.10'
resolutionStrategy.force 'commons-logging:commons-logging:1.2'
// Resolve conflict with org.opensearch:opensearch:1.3.4-SNAPSHOT which using 2.13.2
resolutionStrategy.force 'com.fasterxml.jackson.core:jackson-databind:2.13.2.2'
}

apply plugin: 'nebula.ospackage'
Expand Down

0 comments on commit 5c39b4a

Please sign in to comment.