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 /network/shuffle/pom.xml | |
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 'network/shuffle/pom.xml')
-rw-r--r-- | network/shuffle/pom.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/network/shuffle/pom.xml b/network/shuffle/pom.xml index 4b5bfcb6f0..532463e96f 100644 --- a/network/shuffle/pom.xml +++ b/network/shuffle/pom.xml @@ -79,7 +79,7 @@ </dependency> <dependency> <groupId>org.mockito</groupId> - <artifactId>mockito-all</artifactId> + <artifactId>mockito-core</artifactId> <scope>test</scope> </dependency> </dependencies> |