Skip to content

Commit

Permalink
[Backport 2.x] Exclude jettison version brought in with hadoop-minicl…
Browse files Browse the repository at this point in the history
…uster (#4832)

* Backport 4787 to 2.x

Signed-off-by: Ryan Bogan <[email protected]>

* Fixed merge conflicts

Signed-off-by: Ryan Bogan <[email protected]>

* Fixed Changelog

Signed-off-by: Ryan Bogan <[email protected]>

* Fixed Changelog

Signed-off-by: Ryan Bogan <[email protected]>

* Fixed merge conflicts

Signed-off-by: Ryan Bogan <[email protected]>

* Addressed more merge conflicts

Signed-off-by: Ryan Bogan <[email protected]>

Signed-off-by: Ryan Bogan <[email protected]>
Co-authored-by: Marc Handalian <[email protected]>
  • Loading branch information
ryanbogan and mch2 authored Oct 24, 2022
1 parent 3df7015 commit 52ff342
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Bumps `com.diffplug.spotless` from 6.9.1 to 6.10.0
- Bumps `xmlbeans` from 5.1.0 to 5.1.1
- Bumps `hadoop-hdfs` from 3.3.3 to 3.3.4
- Exclude jettison version brought in with hadoop-minicluster. ([#4787](https://github.com/opensearch-project/OpenSearch/pull/4787))
- Bump protobuf-java to 3.21.7 in repository-gcs and repository-hdfs ([#4790](https://github.com/opensearch-project/OpenSearch/pull/4790))

### Changed
Expand Down
1 change: 1 addition & 0 deletions buildSrc/version.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ supercsv = 2.4.0
log4j = 2.17.1
slf4j = 1.7.36
asm = 9.3
jettison = 1.5.1

# when updating the JNA version, also update the version in buildSrc/build.gradle
jna = 5.5.0
Expand Down
2 changes: 1 addition & 1 deletion plugins/discovery-azure-classic/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ dependencies {
api "com.sun.jersey:jersey-client:${versions.jersey}"
api "com.sun.jersey:jersey-core:${versions.jersey}"
api "com.sun.jersey:jersey-json:${versions.jersey}"
api 'org.codehaus.jettison:jettison:1.5.1'
api "org.codehaus.jettison:jettison:${versions.jettison}"
api 'com.sun.xml.bind:jaxb-impl:2.2.3-1'

// HACK: javax.xml.bind was removed from default modules in java 9, so we pull the api in here,
Expand Down
2 changes: 2 additions & 0 deletions test/fixtures/hdfs-fixture/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ group = 'hdfs'
dependencies {
api("org.apache.hadoop:hadoop-minicluster:3.3.4") {
exclude module: 'websocket-client'
exclude module: 'jettison'
}
api "org.codehaus.jettison:jettison:${versions.jettison}"
api "org.apache.commons:commons-compress:1.21"
api "commons-codec:commons-codec:${versions.commonscodec}"
api "org.apache.logging.log4j:log4j-core:${versions.log4j}"
Expand Down

0 comments on commit 52ff342

Please sign in to comment.