GitHub user JoshRosen opened a pull request: https://github.com/apache/spark/pull/7061
[SPARK-8683] [SPARK] 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. You can merge this pull request into a Git repository by running: $ git pull https://github.com/JoshRosen/spark mockito-core-instead-of-all Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/7061.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #7061 ---- commit 70eccbef850d2b3a142c6446b922a6eaabba49dd Author: Josh Rosen <joshro...@databricks.com> Date: 2015-06-27T23:14:09Z Depend on mockito-core instead of mockito-all. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org