Skip to content

Commit

Permalink
HADOOP-18300. Upgrade Gson dependency to version 2.9.0 (apache#4454)
Browse files Browse the repository at this point in the history
Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
Signed-off-by: Chris Nauroth <cnauroth@apache.org>
  • Loading branch information
medb authored and HarshitGupta11 committed Nov 28, 2022
1 parent 669b255 commit cf52ca8
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LICENSE-binary
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions hadoop-client-modules/hadoop-client-minicluster/pom.xml
Expand Up @@ -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>
Expand Down
7 changes: 7 additions & 0 deletions hadoop-client-modules/hadoop-client-runtime/pom.xml
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion hadoop-project/pom.xml
Expand Up @@ -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>
Expand Down

0 comments on commit cf52ca8

Please sign in to comment.