This is an automated email from the ASF dual-hosted git repository.
cnauroth pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new 77d1b194c77 HADOOP-18300. Upgrade Gson dependency to version 2.9.0
(#4454)
77d1b194c77 is described below
commit 77d1b194c77ec62dc31f89e15594bc1250d88de3
Author: Igor Dvorzhak <[email protected]>
AuthorDate: Wed Jun 22 16:37:22 2022 -0700
HADOOP-18300. Upgrade Gson dependency to version 2.9.0 (#4454)
Reviewed-by: Ayush Saxena <[email protected]>
Signed-off-by: Chris Nauroth <[email protected]>
---
LICENSE-binary | 2 +-
hadoop-client-modules/hadoop-client-minicluster/pom.xml | 6 ++++++
hadoop-client-modules/hadoop-client-runtime/pom.xml | 7 +++++++
hadoop-project/pom.xml | 2 +-
4 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/LICENSE-binary b/LICENSE-binary
index 980b9c7f2b6..49948526390 100644
--- a/LICENSE-binary
+++ b/LICENSE-binary
@@ -231,7 +231,7 @@ com.github.stephenc.jcip:jcip-annotations:1.0-1
com.google:guice:4.0
com.google:guice-servlet:4.0
com.google.api.grpc:proto-google-common-protos:1.0.0
-com.google.code.gson:2.2.4
+com.google.code.gson:2.9.0
com.google.errorprone:error_prone_annotations:2.2.0
com.google.j2objc:j2objc-annotations:1.1
com.google.json-simple:json-simple:1.1.1
diff --git a/hadoop-client-modules/hadoop-client-minicluster/pom.xml
b/hadoop-client-modules/hadoop-client-minicluster/pom.xml
index 06e36837a20..4c8900dc2af 100644
--- a/hadoop-client-modules/hadoop-client-minicluster/pom.xml
+++ b/hadoop-client-modules/hadoop-client-minicluster/pom.xml
@@ -757,6 +757,12 @@
<exclude>META-INF/versions/11/module-info.class</exclude>
</excludes>
</filter>
+ <filter>
+ <artifact>com.google.code.gson:gson</artifact>
+ <excludes>
+
<exclude>META-INF/versions/9/module-info.class</exclude>
+ </excludes>
+ </filter>
<!-- Mockito tries to include its own unrelocated copy of
hamcrest. :( -->
<filter>
diff --git a/hadoop-client-modules/hadoop-client-runtime/pom.xml
b/hadoop-client-modules/hadoop-client-runtime/pom.xml
index 35fbd7665fb..98756c24395 100644
--- a/hadoop-client-modules/hadoop-client-runtime/pom.xml
+++ b/hadoop-client-modules/hadoop-client-runtime/pom.xml
@@ -249,6 +249,13 @@
<exclude>META-INF/versions/11/module-info.class</exclude>
</excludes>
</filter>
+ <filter>
+ <artifact>com.google.code.gson:gson</artifact>
+ <excludes>
+
<exclude>META-INF/versions/9/module-info.class</exclude>
+ </excludes>
+ </filter>
+
</filters>
<relocations>
<relocation>
diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index 2bbb57bdf43..e8cb47efe4b 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -141,7 +141,7 @@
<jdom2.version>2.0.6.1</jdom2.version>
<jna.version>5.2.0</jna.version>
<grizzly.version>2.2.21</grizzly.version>
- <gson.version>2.8.9</gson.version>
+ <gson.version>2.9.0</gson.version>
<metrics.version>3.2.4</metrics.version>
<netty3.version>3.10.6.Final</netty3.version>
<netty4.version>4.1.68.Final</netty4.version>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]