diff options
author | Josh Rosen <joshrosen@databricks.com> | 2015-06-27 23:27:52 -0700 |
---|---|---|
committer | Josh Rosen <joshrosen@databricks.com> | 2015-06-27 23:27:52 -0700 |
commit | f51004519c4c4915711fb9992e3aa4f05fd143ec (patch) | |
tree | bc9cee6336e3b4217a68dffab2d952847f43610b /extras/kinesis-asl | |
parent | 42db3a1c2fb6db61e01756be7fe88c4110ae638e (diff) | |
download | spark-f51004519c4c4915711fb9992e3aa4f05fd143ec.tar.gz spark-f51004519c4c4915711fb9992e3aa4f05fd143ec.tar.bz2 spark-f51004519c4c4915711fb9992e3aa4f05fd143ec.zip |
[SPARK-8683] [BUILD] Depend on mockito-core instead of mockito-all
Spark's tests currently depend on `mockito-all`, which bundles Hamcrest and Objenesis classes. Instead, it should depend on `mockito-core`, which declares those libraries as Maven dependencies. This is necessary in order to fix a dependency conflict that leads to a NoSuchMethodError when using certain Hamcrest matchers.
See https://github.com/mockito/mockito/wiki/Declaring-mockito-dependency for more details.
Author: Josh Rosen <joshrosen@databricks.com>
Closes #7061 from JoshRosen/mockito-core-instead-of-all and squashes the following commits:
70eccbe [Josh Rosen] Depend on mockito-core instead of mockito-all.
Diffstat (limited to 'extras/kinesis-asl')
-rw-r--r-- | extras/kinesis-asl/pom.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/kinesis-asl/pom.xml b/extras/kinesis-asl/pom.xml index c6f60bc907..c242e7a57b 100644 --- a/extras/kinesis-asl/pom.xml +++ b/extras/kinesis-asl/pom.xml @@ -66,7 +66,7 @@ </dependency> <dependency> <groupId>org.mockito</groupId> - <artifactId>mockito-all</artifactId> + <artifactId>mockito-core</artifactId> <scope>test</scope> </dependency> <dependency> |