瀏覽代碼

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

(cherry picked from commit 397f523e22a4f76b5484bed26ef4e6d40200611e)
Xiaoyu Yao 6 年之前
父節點
當前提交
3ea74033bf
共有 1 個文件被更改,包括 2 次插入0 次删除
  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>org/hamcrest/**/*.class</exclude>
                         <exclude>org/hamcrest/*.class</exclude>
+                        <exclude>org/objenesis/**/*.class</exclude>
+                        <exclude>org/objenesis/*.class</exclude>
                       </excludes>
                     </filter>
                     <!-- skip grizzly internals we don't need to run. -->