This is an automated email from the ASF dual-hosted git repository.

roryqi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-uniffle.git


The following commit(s) were added to refs/heads/master by this push:
     new 3bce707c0 [#2343] Improvement: Fix the warning Discovered 
module-info.class. Shading will break its strong encapsulation. (#2345)
3bce707c0 is described below

commit 3bce707c0a9c6cac19f17efc011de9bf3c5df6c4
Author: Neo Chien <[email protected]>
AuthorDate: Fri Jan 17 15:20:40 2025 +0800

    [#2343] Improvement: Fix the warning Discovered module-info.class. Shading 
will break its strong encapsulation. (#2345)
    
    ### What changes were proposed in this pull request?
    Fix the warning `Discovered module-info.class. Shading will break its 
strong encapsulation`.
    
    ### Why are the changes needed?
    Fix: #2343
    
    ### Does this PR introduce _any_ user-facing change?
    No.
    
    ### How was this patch tested?
    current UT
---
 client-mr/core/pom.xml             | 1 +
 client-spark/spark2-shaded/pom.xml | 1 +
 client-spark/spark3-shaded/pom.xml | 1 +
 client-tez/pom.xml                 | 1 +
 coordinator/pom.xml                | 1 +
 server/pom.xml                     | 1 +
 6 files changed, 6 insertions(+)

diff --git a/client-mr/core/pom.xml b/client-mr/core/pom.xml
index 6264eba31..a0ffe6248 100644
--- a/client-mr/core/pom.xml
+++ b/client-mr/core/pom.xml
@@ -187,6 +187,7 @@
                                     <artifact>*:*</artifact>
                                     <excludes>
                                         <exclude>LICENSE</exclude>
+                                        <exclude>module-info.class</exclude>
                                         <exclude>META-INF/*.SF</exclude>
                                         <exclude>META-INF/*.DSA</exclude>
                                         <exclude>META-INF/*.RSA</exclude>
diff --git a/client-spark/spark2-shaded/pom.xml 
b/client-spark/spark2-shaded/pom.xml
index e366be2e4..6f8066ccb 100644
--- a/client-spark/spark2-shaded/pom.xml
+++ b/client-spark/spark2-shaded/pom.xml
@@ -108,6 +108,7 @@
                 <filter>
                   <artifact>*:*</artifact>
                   <excludes>
+                    <exclude>module-info.class</exclude>
                     <exclude>META-INF/*.SF</exclude>
                     <exclude>META-INF/*.DSA</exclude>
                     <exclude>META-INF/*.RSA</exclude>
diff --git a/client-spark/spark3-shaded/pom.xml 
b/client-spark/spark3-shaded/pom.xml
index b7a98093a..67ef6a47a 100644
--- a/client-spark/spark3-shaded/pom.xml
+++ b/client-spark/spark3-shaded/pom.xml
@@ -108,6 +108,7 @@
                 <filter>
                   <artifact>*:*</artifact>
                   <excludes>
+                    <exclude>module-info.class</exclude>
                     <exclude>META-INF/*.SF</exclude>
                     <exclude>META-INF/*.DSA</exclude>
                     <exclude>META-INF/*.RSA</exclude>
diff --git a/client-tez/pom.xml b/client-tez/pom.xml
index 476398b0a..ec6b1813e 100644
--- a/client-tez/pom.xml
+++ b/client-tez/pom.xml
@@ -203,6 +203,7 @@
                                     <artifact>*:*</artifact>
                                     <excludes>
                                         <exclude>LICENSE</exclude>
+                                        <exclude>module-info.class</exclude>
                                         <exclude>META-INF/*.SF</exclude>
                                         <exclude>META-INF/*.DSA</exclude>
                                         <exclude>META-INF/*.RSA</exclude>
diff --git a/coordinator/pom.xml b/coordinator/pom.xml
index 0081adcac..9cb3b1029 100644
--- a/coordinator/pom.xml
+++ b/coordinator/pom.xml
@@ -148,6 +148,7 @@
                   <artifact>*:*</artifact>
                   <excludes>
                     <exclude>LICENSE</exclude>
+                    <exclude>module-info.class</exclude>
                     <exclude>META-INF/*.SF</exclude>
                     <exclude>META-INF/*.DSA</exclude>
                     <exclude>META-INF/*.RSA</exclude>
diff --git a/server/pom.xml b/server/pom.xml
index 5dd176387..869f6ab15 100644
--- a/server/pom.xml
+++ b/server/pom.xml
@@ -209,6 +209,7 @@
                   <artifact>*:*</artifact>
                   <excludes>
                     <exclude>LICENSE</exclude>
+                    <exclude>module-info.class</exclude>
                     <exclude>META-INF/*.SF</exclude>
                     <exclude>META-INF/*.DSA</exclude>
                     <exclude>META-INF/*.RSA</exclude>

Reply via email to