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
This commit is contained in:
parent
9bc159f4ac
commit
3d7b58d8a5
@ -748,23 +748,12 @@
|
|||||||
</excludes>
|
</excludes>
|
||||||
</filter>
|
</filter>
|
||||||
<filter>
|
<filter>
|
||||||
<artifact>com.fasterxml.jackson.*:*</artifact>
|
<artifact>*:*</artifact>
|
||||||
<excludes>
|
<excludes>
|
||||||
|
<exclude>META-INF/versions/9/module-info.class</exclude>
|
||||||
<exclude>META-INF/versions/11/module-info.class</exclude>
|
<exclude>META-INF/versions/11/module-info.class</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</filter>
|
</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>
|
|
||||||
<excludes>
|
|
||||||
<exclude>META-INF/versions/9/module-info.class</exclude>
|
|
||||||
</excludes>
|
|
||||||
</filter>
|
|
||||||
|
|
||||||
<!-- Mockito tries to include its own unrelocated copy of hamcrest. :( -->
|
<!-- Mockito tries to include its own unrelocated copy of hamcrest. :( -->
|
||||||
<filter>
|
<filter>
|
||||||
|
@ -239,23 +239,12 @@
|
|||||||
</excludes>
|
</excludes>
|
||||||
</filter>
|
</filter>
|
||||||
<filter>
|
<filter>
|
||||||
<artifact>com.fasterxml.jackson.*:*</artifact>
|
<artifact>*:*</artifact>
|
||||||
<excludes>
|
<excludes>
|
||||||
|
<exclude>META-INF/versions/9/module-info.class</exclude>
|
||||||
<exclude>META-INF/versions/11/module-info.class</exclude>
|
<exclude>META-INF/versions/11/module-info.class</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</filter>
|
</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>
|
|
||||||
<excludes>
|
|
||||||
<exclude>META-INF/versions/9/module-info.class</exclude>
|
|
||||||
</excludes>
|
|
||||||
</filter>
|
|
||||||
|
|
||||||
</filters>
|
</filters>
|
||||||
<relocations>
|
<relocations>
|
||||||
|
Loading…
Reference in New Issue
Block a user