From f48fef9faf3ddb3194b8cfe24a6d8368f6589379 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Sat, 30 Sep 2023 13:10:49 +0100 Subject: [PATCH 1/2] HADOOP-18916. Exclude all module-info classes --- hadoop-client-modules/hadoop-client-minicluster/pom.xml | 9 ++------- hadoop-client-modules/hadoop-client-runtime/pom.xml | 9 ++------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/hadoop-client-modules/hadoop-client-minicluster/pom.xml b/hadoop-client-modules/hadoop-client-minicluster/pom.xml index 10c6d41dd6cce..b08a914092b73 100644 --- a/hadoop-client-modules/hadoop-client-minicluster/pom.xml +++ b/hadoop-client-modules/hadoop-client-minicluster/pom.xml @@ -748,15 +748,10 @@ - com.fasterxml.jackson.*:* - - META-INF/versions/11/module-info.class - - - - com.google.code.gson:gson + *:* 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 60790d932edaf..06bb075eb187b 100644 --- a/hadoop-client-modules/hadoop-client-runtime/pom.xml +++ b/hadoop-client-modules/hadoop-client-runtime/pom.xml @@ -239,15 +239,10 @@ - com.fasterxml.jackson.*:* - - META-INF/versions/11/module-info.class - - - - com.google.code.gson:gson + *:* META-INF/versions/9/module-info.class + META-INF/versions/11/module-info.class From 0e22fd0948d99822728123dc212fda20c0d80e1a Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Wed, 11 Oct 2023 22:33:43 +0100 Subject: [PATCH 2/2] remove extra exclude that was added recently --- hadoop-client-modules/hadoop-client-minicluster/pom.xml | 6 ------ hadoop-client-modules/hadoop-client-runtime/pom.xml | 6 ------ 2 files changed, 12 deletions(-) diff --git a/hadoop-client-modules/hadoop-client-minicluster/pom.xml b/hadoop-client-modules/hadoop-client-minicluster/pom.xml index b08a914092b73..9c9df2216fe8e 100644 --- a/hadoop-client-modules/hadoop-client-minicluster/pom.xml +++ b/hadoop-client-modules/hadoop-client-minicluster/pom.xml @@ -754,12 +754,6 @@ META-INF/versions/11/module-info.class - - org.apache.commons:commons-compress - - META-INF/versions/9/module-info.class - - diff --git a/hadoop-client-modules/hadoop-client-runtime/pom.xml b/hadoop-client-modules/hadoop-client-runtime/pom.xml index 06bb075eb187b..1391da71ffd3c 100644 --- a/hadoop-client-modules/hadoop-client-runtime/pom.xml +++ b/hadoop-client-modules/hadoop-client-runtime/pom.xml @@ -245,12 +245,6 @@ META-INF/versions/11/module-info.class - - org.apache.commons:commons-compress - - META-INF/versions/9/module-info.class - -