From 553b8ff7d4e2ad84a8e99fb183a06788987c759a Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Sat, 14 Oct 2023 09:59:30 +0100 Subject: [PATCH] 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-minicluster/pom.xml | 15 ++------------- .../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 15ee04c9d052e..67e3a8b1b1838 100644 --- a/hadoop-client-modules/hadoop-client-minicluster/pom.xml +++ b/hadoop-client-modules/hadoop-client-minicluster/pom.xml @@ -751,21 +751,10 @@ - com.fasterxml.jackson.*:* - - META-INF/versions/9/module-info.class - - - - com.google.code.gson:gson - - META-INF/versions/9/module-info.class - - - - org.apache.commons:commons-compress + *:* META-INF/versions/9/module-info.class + META-INF/versions/11/module-info.class diff --git a/hadoop-client-modules/hadoop-client-runtime/pom.xml b/hadoop-client-modules/hadoop-client-runtime/pom.xml index c16f2677590d6..78153c1f07286 100644 --- a/hadoop-client-modules/hadoop-client-runtime/pom.xml +++ b/hadoop-client-modules/hadoop-client-runtime/pom.xml @@ -245,21 +245,10 @@ - com.fasterxml.jackson.*:* - - META-INF/versions/9/module-info.class - - - - com.google.code.gson:gson - - META-INF/versions/9/module-info.class - - - - org.apache.commons:commons-compress + *:* META-INF/versions/9/module-info.class + META-INF/versions/11/module-info.class