You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (JIRA)" <ji...@apache.org> on 2015/06/28 08:29:04 UTC

[jira] [Resolved] (SPARK-8683) Depend on mockito-core instead of mockito-all

     [ https://issues.apache.org/jira/browse/SPARK-8683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josh Rosen resolved SPARK-8683.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.0

Issue resolved by pull request 7061
[https://github.com/apache/spark/pull/7061]

> Depend on mockito-core instead of mockito-all
> ---------------------------------------------
>
>                 Key: SPARK-8683
>                 URL: https://issues.apache.org/jira/browse/SPARK-8683
>             Project: Spark
>          Issue Type: Bug
>          Components: Build
>            Reporter: Josh Rosen
>            Assignee: Josh Rosen
>             Fix For: 1.5.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org