diff --git a/hbase-common/src/test/java/org/apache/hadoop/hbase/TestClassFinder.java b/hbase-common/src/test/java/org/apache/hadoop/hbase/TestClassFinder.java
index 411bb65a95a..cf97e313cf0 100644
--- a/hbase-common/src/test/java/org/apache/hadoop/hbase/TestClassFinder.java
+++ b/hbase-common/src/test/java/org/apache/hadoop/hbase/TestClassFinder.java
@@ -19,7 +19,6 @@ package org.apache.hadoop.hbase;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.arrayContainingInAnyOrder;
-import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
diff --git a/pom.xml b/pom.xml
index feeeb7f7f49..f23d0db549b 100755
--- a/pom.xml
+++ b/pom.xml
@@ -2286,13 +2286,11 @@
org.hamcrest
hamcrest-core
${hamcrest.version}
- test
org.hamcrest
hamcrest-library
${hamcrest.version}
- test
org.mockito