medb commented on code in PR #4454:
URL: https://github.com/apache/hadoop/pull/4454#discussion_r901830038


##########
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>

Review Comment:
   This is necessary because [Gson 2.9.0 added 
`META-INF/versions/9/module-info.class` 
file](https://github.com/google/gson/pull/2013) which leads to the Hadoop build 
failure - not sure if there are better ways to fix this (maybe merge 
`module-info.class` files?), but this is what is already done for Jackson 
dependency that has the same issue.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to