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 ay...@apache.org on 2023/10/14 08:59:37 UTC
[hadoop] branch branch-3.3 updated: HADOOP-18916. Exclude all module-info classes from uber jars (#6131) (#6188)
This is an automated email from the ASF dual-hosted git repository.
ayushsaxena pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-3.3 by this push:
new 553b8ff7d4e2 HADOOP-18916. Exclude all module-info classes from uber jars (#6131) (#6188)
553b8ff7d4e2 is described below
commit 553b8ff7d4e2ad84a8e99fb183a06788987c759a
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Sat Oct 14 09:59:30 2023 +0100
HADOOP-18916. Exclude all module-info classes from uber jars (#6131) (#6188)
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 15ee04c9d052..67e3a8b1b183 100644
--- a/hadoop-client-modules/hadoop-client-minicluster/pom.xml
+++ b/hadoop-client-modules/hadoop-client-minicluster/pom.xml
@@ -751,21 +751,10 @@
</excludes>
</filter>
<filter>
- <artifact>com.fasterxml.jackson.*:*</artifact>
- <excludes>
- <exclude>META-INF/versions/9/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 c16f2677590d..78153c1f0728 100644
--- a/hadoop-client-modules/hadoop-client-runtime/pom.xml
+++ b/hadoop-client-modules/hadoop-client-runtime/pom.xml
@@ -245,21 +245,10 @@
</excludes>
</filter>
<filter>
- <artifact>com.fasterxml.jackson.*:*</artifact>
- <excludes>
- <exclude>META-INF/versions/9/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