From 3bce707c0a9c6cac19f17efc011de9bf3c5df6c4 Mon Sep 17 00:00:00 2001 From: Neo Chien Date: Fri, 17 Jan 2025 15:20:40 +0800 Subject: [PATCH] [#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 6264eba31c..a0ffe6248f 100644 --- a/client-mr/core/pom.xml +++ b/client-mr/core/pom.xml @@ -187,6 +187,7 @@ *:* LICENSE + module-info.class META-INF/*.SF META-INF/*.DSA META-INF/*.RSA diff --git a/client-spark/spark2-shaded/pom.xml b/client-spark/spark2-shaded/pom.xml index e366be2e4a..6f8066ccb1 100644 --- a/client-spark/spark2-shaded/pom.xml +++ b/client-spark/spark2-shaded/pom.xml @@ -108,6 +108,7 @@ *:* + module-info.class META-INF/*.SF META-INF/*.DSA META-INF/*.RSA diff --git a/client-spark/spark3-shaded/pom.xml b/client-spark/spark3-shaded/pom.xml index b7a98093a4..67ef6a47a4 100644 --- a/client-spark/spark3-shaded/pom.xml +++ b/client-spark/spark3-shaded/pom.xml @@ -108,6 +108,7 @@ *:* + module-info.class META-INF/*.SF META-INF/*.DSA META-INF/*.RSA diff --git a/client-tez/pom.xml b/client-tez/pom.xml index 476398b0a0..ec6b1813e3 100644 --- a/client-tez/pom.xml +++ b/client-tez/pom.xml @@ -203,6 +203,7 @@ *:* LICENSE + module-info.class META-INF/*.SF META-INF/*.DSA META-INF/*.RSA diff --git a/coordinator/pom.xml b/coordinator/pom.xml index 0081adcacc..9cb3b10297 100644 --- a/coordinator/pom.xml +++ b/coordinator/pom.xml @@ -148,6 +148,7 @@ *:* LICENSE + module-info.class META-INF/*.SF META-INF/*.DSA META-INF/*.RSA diff --git a/server/pom.xml b/server/pom.xml index 5dd1763873..869f6ab15f 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -209,6 +209,7 @@ *:* LICENSE + module-info.class META-INF/*.SF META-INF/*.DSA META-INF/*.RSA