HADOOP-18300. Upgrade Gson dependency to version 2.9.0 (#4454)

Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
Signed-off-by: Chris Nauroth <cnauroth@apache.org>
(cherry picked from commit 77d1b194c7)
This commit is contained in:
Igor Dvorzhak 2022-06-22 16:37:22 -07:00 committed by Chris Nauroth
parent 838b63d836
commit d41e0a9cc3
4 changed files with 15 additions and 2 deletions

View File

@ -232,7 +232,7 @@ com.google:guice-servlet:4.0
com.google.android:annotations:jar:4.1.1.4
com.google.api.grpc:proto-google-common-protos:1.12.0
com.google.code.findbugs:jsr305:3.0.2
com.google.code.gson:gson:2.2.4
com.google.code.gson:gson:2.9.0
com.google.errorprone:error_prone_annotations:2.3.3
com.google.j2objc:j2objc-annotations:1.1
com.google.json-simple:json-simple:1.1.1

View File

@ -747,6 +747,12 @@
<exclude>META-INF/versions/9/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>

View File

@ -249,6 +249,13 @@
<exclude>META-INF/versions/9/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>

View File

@ -141,7 +141,7 @@
<jdom.version>1.1</jdom.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>