Browse Source

HADOOP-15939. Filter overlapping objenesis class in hadoop-client-minicluster. Contributed by Xiaoyu Yao.

(cherry picked from commit 397f523e22a4f76b5484bed26ef4e6d40200611e)
Xiaoyu Yao 6 years ago
parent
commit
3ea74033bf
1 changed files with 2 additions and 0 deletions
  1. 2 0
      hadoop-client-modules/hadoop-client-minicluster/pom.xml

+ 2 - 0
hadoop-client-modules/hadoop-client-minicluster/pom.xml

@@ -729,6 +729,8 @@
                         <exclude>objenesis-license.txt</exclude>
                         <exclude>objenesis-license.txt</exclude>
                         <exclude>org/hamcrest/**/*.class</exclude>
                         <exclude>org/hamcrest/**/*.class</exclude>
                         <exclude>org/hamcrest/*.class</exclude>
                         <exclude>org/hamcrest/*.class</exclude>
+                        <exclude>org/objenesis/**/*.class</exclude>
+                        <exclude>org/objenesis/*.class</exclude>
                       </excludes>
                       </excludes>
                     </filter>
                     </filter>
                     <!-- skip grizzly internals we don't need to run. -->
                     <!-- skip grizzly internals we don't need to run. -->