You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by st...@apache.org on 2023/10/13 19:02:02 UTC
[hadoop] branch trunk updated: HADOOP-18916. Exclude all module-info classes from uber jars (#6131)
This is an automated email from the ASF dual-hosted git repository.
stevel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new 3d7b58d8a50b HADOOP-18916. Exclude all module-info classes from uber jars (#6131)
3d7b58d8a50b is described below
commit 3d7b58d8a50b672e54d8fd08cfe7394b724efc0f
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Fri Oct 13 20:01:44 2023 +0100
HADOOP-18916. Exclude all module-info classes from uber jars (#6131)
Removes java9 and java11 from all modules pulled into the hadoop-client
and hadoop-client-minicluster modules.
Contributed by PJ Fanning
---
hadoop-client-modules/hadoop-client-minicluster/pom.xml | 15 ++-------------
hadoop-client-modules/hadoop-client-runtime/pom.xml | 15 ++-------------
2 files changed, 4 insertions(+), 26 deletions(-)
diff --git a/hadoop-client-modules/hadoop-client-minicluster/pom.xml b/hadoop-client-modules/hadoop-client-minicluster/pom.xml
index 10c6d41dd6cc..9c9df2216fe8 100644
--- a/hadoop-client-modules/hadoop-client-minicluster/pom.xml
+++ b/hadoop-client-modules/hadoop-client-minicluster/pom.xml
@@ -748,21 +748,10 @@
</excludes>
</filter>
<filter>
- <artifact>com.fasterxml.jackson.*:*</artifact>
- <excludes>
- <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>
- <filter>
- <artifact>org.apache.commons:commons-compress</artifact>
+ <artifact>*:*</artifact>
<excludes>
<exclude>META-INF/versions/9/module-info.class</exclude>
+ <exclude>META-INF/versions/11/module-info.class</exclude>
</excludes>
</filter>
diff --git a/hadoop-client-modules/hadoop-client-runtime/pom.xml b/hadoop-client-modules/hadoop-client-runtime/pom.xml
index 60790d932eda..1391da71ffd3 100644
--- a/hadoop-client-modules/hadoop-client-runtime/pom.xml
+++ b/hadoop-client-modules/hadoop-client-runtime/pom.xml
@@ -239,21 +239,10 @@
</excludes>
</filter>
<filter>
- <artifact>com.fasterxml.jackson.*:*</artifact>
- <excludes>
- <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>
- <filter>
- <artifact>org.apache.commons:commons-compress</artifact>
+ <artifact>*:*</artifact>
<excludes>
<exclude>META-INF/versions/9/module-info.class</exclude>
+ <exclude>META-INF/versions/11/module-info.class</exclude>
</excludes>
</filter>
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org