Skip to content

Commit 399580d

Browse files
medbcnauroth
authored andcommitted
HADOOP-18300. Upgrade Gson dependency to version 2.9.0 (#4454)
Reviewed-by: Ayush Saxena <[email protected]> Signed-off-by: Chris Nauroth <[email protected]> (cherry picked from commit 77d1b19) (cherry picked from commit d41e0a9)
1 parent 4dad353 commit 399580d

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

hadoop-client-modules/hadoop-client-minicluster/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -723,6 +723,12 @@
723723
<exclude>testdata/*</exclude>
724724
</excludes>
725725
</filter>
726+
<filter>
727+
<artifact>com.google.code.gson:gson</artifact>
728+
<excludes>
729+
<exclude>META-INF/versions/9/module-info.class</exclude>
730+
</excludes>
731+
</filter>
726732
<!-- Mockito tries to include its own unrelocated copy of hamcrest. :( -->
727733
<filter>
728734
<artifact>org.mockito:mockito-all</artifact>

hadoop-client-modules/hadoop-client-runtime/pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,13 @@
232232
<exclude>update*</exclude>
233233
</excludes>
234234
</filter>
235+
<filter>
236+
<artifact>com.google.code.gson:gson</artifact>
237+
<excludes>
238+
<exclude>META-INF/versions/9/module-info.class</exclude>
239+
</excludes>
240+
</filter>
241+
235242
</filters>
236243
<relocations>
237244
<relocation>

hadoop-project/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
<okhttp.version>2.7.5</okhttp.version>
130130
<jdom.version>1.1</jdom.version>
131131
<grizzly.version>2.2.21</grizzly.version>
132-
<gson.version>2.8.9</gson.version>
132+
<gson.version>2.9.0</gson.version>
133133
<htrace3.version>3.1.0-incubating</htrace3.version>
134134
<htrace4.version>4.1.0-incubating</htrace4.version>
135135
<metrics.version>3.2.4</metrics.version>

0 commit comments

Comments
 (0)