diff --git a/LICENSE b/LICENSE
index 42010d9f5f0e6..8672be55eca3e 100644
--- a/LICENSE
+++ b/LICENSE
@@ -948,6 +948,6 @@ The following components are provided under the MIT License. See project link fo
(MIT License) SLF4J LOG4J-12 Binding (org.slf4j:slf4j-log4j12:1.7.5 - http://www.slf4j.org)
(MIT License) pyrolite (org.spark-project:pyrolite:2.0.1 - http://pythonhosted.org/Pyro4/)
(MIT License) scopt (com.github.scopt:scopt_2.10:3.2.0 - https://github.com/scopt/scopt)
- (The MIT License) Mockito (org.mockito:mockito-all:1.8.5 - http://www.mockito.org)
+ (The MIT License) Mockito (org.mockito:mockito-core:1.8.5 - http://www.mockito.org)
(MIT License) jquery (https://jquery.org/license/)
(MIT License) AnchorJS (https://github.com/bryanbraun/anchorjs)
diff --git a/core/pom.xml b/core/pom.xml
index 40a64beccdc24..565437c4861a4 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -354,7 +354,7 @@
org.mockito
- mockito-all
+ mockito-core
test
diff --git a/extras/kinesis-asl/pom.xml b/extras/kinesis-asl/pom.xml
index c6f60bc907438..c242e7a57b9ab 100644
--- a/extras/kinesis-asl/pom.xml
+++ b/extras/kinesis-asl/pom.xml
@@ -66,7 +66,7 @@
org.mockito
- mockito-all
+ mockito-core
test
diff --git a/launcher/pom.xml b/launcher/pom.xml
index 48dd0d5f9106b..a853e67f5cf78 100644
--- a/launcher/pom.xml
+++ b/launcher/pom.xml
@@ -49,7 +49,7 @@
org.mockito
- mockito-all
+ mockito-core
test
diff --git a/mllib/pom.xml b/mllib/pom.xml
index b16058ddc203a..a5db14407b4fc 100644
--- a/mllib/pom.xml
+++ b/mllib/pom.xml
@@ -106,7 +106,7 @@
org.mockito
- mockito-all
+ mockito-core
test
diff --git a/network/common/pom.xml b/network/common/pom.xml
index a85e0a66f4a30..7dc3068ab8cb7 100644
--- a/network/common/pom.xml
+++ b/network/common/pom.xml
@@ -77,7 +77,7 @@
org.mockito
- mockito-all
+ mockito-core
test
diff --git a/network/shuffle/pom.xml b/network/shuffle/pom.xml
index 4b5bfcb6f04bc..532463e96fbb7 100644
--- a/network/shuffle/pom.xml
+++ b/network/shuffle/pom.xml
@@ -79,7 +79,7 @@
org.mockito
- mockito-all
+ mockito-core
test
diff --git a/pom.xml b/pom.xml
index 80cacb5ace2d4..1aa70240888bc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -681,7 +681,7 @@
org.mockito
- mockito-all
+ mockito-core
1.9.5
test
diff --git a/repl/pom.xml b/repl/pom.xml
index 85f7bc8ac1024..370b2bc2fa8ed 100644
--- a/repl/pom.xml
+++ b/repl/pom.xml
@@ -93,7 +93,7 @@
org.mockito
- mockito-all
+ mockito-core
test
diff --git a/unsafe/pom.xml b/unsafe/pom.xml
index dd2ae6457f0b9..33782c6c66f90 100644
--- a/unsafe/pom.xml
+++ b/unsafe/pom.xml
@@ -67,7 +67,7 @@
org.mockito
- mockito-all
+ mockito-core
test
diff --git a/yarn/pom.xml b/yarn/pom.xml
index 644def7501dc8..2aeed98285aa8 100644
--- a/yarn/pom.xml
+++ b/yarn/pom.xml
@@ -107,7 +107,7 @@
org.mockito
- mockito-all
+ mockito-core
test