Repository: hadoop Updated Branches: refs/heads/trunk f14be0d24 -> 481385ea8
HADOOP-14672. Shaded Hadoop-client-minicluster include unshaded classes, like: javax, sax, dom, etc. Contributed by Bharat Viswanadham. Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/481385ea Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/481385ea Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/481385ea Branch: refs/heads/trunk Commit: 481385ea8a6ac13b23520276e7718710b7b02c89 Parents: f14be0d Author: Junping Du <[email protected]> Authored: Sun Jul 30 22:14:54 2017 -0700 Committer: Junping Du <[email protected]> Committed: Sun Jul 30 22:15:48 2017 -0700 ---------------------------------------------------------------------- .../hadoop-client-minicluster/pom.xml | 32 ++++++++++++++++++++ 1 file changed, 32 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/481385ea/hadoop-client-modules/hadoop-client-minicluster/pom.xml ---------------------------------------------------------------------- diff --git a/hadoop-client-modules/hadoop-client-minicluster/pom.xml b/hadoop-client-modules/hadoop-client-minicluster/pom.xml index 93811ad..f4b2329 100644 --- a/hadoop-client-modules/hadoop-client-minicluster/pom.xml +++ b/hadoop-client-modules/hadoop-client-minicluster/pom.xml @@ -127,6 +127,10 @@ <artifactId>jaxb-api</artifactId> </exclusion> <exclusion> + <groupId>xml-apis</groupId> + <artifactId>xml-apis</artifactId> + </exclusion> + <exclusion> <groupId>org.apache.avro</groupId> <artifactId>avro</artifactId> </exclusion> @@ -624,6 +628,12 @@ <exclude>**/*.class</exclude> </excludes> </filter> + <filter> + <artifact>xerces:xercesImpl</artifact> + <excludes> + <exclude>**/*</exclude> + </excludes> + </filter> </filters> <relocations> <relocation> @@ -646,6 +656,7 @@ <exclude>org/junit/*</exclude> <exclude>org/junit/**/*</exclude> <!-- Not the org/ packages that are a part of the jdk --> + <exclude>org/ietf/jgss/*</exclude> <exclude>org/omg/**/*</exclude> <exclude>org/w3c/dom/*</exclude> @@ -655,6 +666,13 @@ </excludes> </relocation> <relocation> + <pattern>contribs/</pattern> + <shadedPattern>${shaded.dependency.prefix}.contribs.</shadedPattern> + <excludes> + <exclude>**/pom.xml</exclude> + </excludes> + </relocation> + <relocation> <pattern>com/</pattern> <shadedPattern>${shaded.dependency.prefix}.com.</shadedPattern> <excludes> @@ -692,6 +710,13 @@ </excludes> </relocation> <relocation> + <pattern>javassist/</pattern> + <shadedPattern>${shaded.dependency.prefix}.javassist.</shadedPattern> + <excludes> + <exclude>**/pom.xml</exclude> + </excludes> + </relocation> + <relocation> <pattern>javax/el/</pattern> <shadedPattern>${shaded.dependency.prefix}.javax.el.</shadedPattern> <excludes> @@ -713,6 +738,13 @@ </excludes> </relocation> <relocation> + <pattern>jersey/</pattern> + <shadedPattern>${shaded.dependency.prefix}.jersey.</shadedPattern> + <excludes> + <exclude>**/pom.xml</exclude> + </excludes> + </relocation> + <relocation> <pattern>net/</pattern> <shadedPattern>${shaded.dependency.prefix}.net.</shadedPattern> <excludes> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
