You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mrunit.apache.org by "Alexandre Normand (JIRA)" <ji...@apache.org> on 2014/04/30 18:46:15 UTC

[jira] [Commented] (MRUNIT-208) mrunit unnecessarily depends on mockito-all

    [ https://issues.apache.org/jira/browse/MRUNIT-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13985719#comment-13985719 ] 

Alexandre Normand commented on MRUNIT-208:
------------------------------------------

I attached the change to remove {{mockito-all}} and replace it with a dependency on {{mockito-core}} and {{hamcrest-core}} (test scoped). 

> mrunit unnecessarily depends on mockito-all
> -------------------------------------------
>
>                 Key: MRUNIT-208
>                 URL: https://issues.apache.org/jira/browse/MRUNIT-208
>             Project: MRUnit
>          Issue Type: Improvement
>            Reporter: Alexandre Normand
>            Priority: Minor
>         Attachments: MRUNIT-208.patch
>
>
> mrunit depends on mockito but it brings it in as {{mockito-all}}. {{mockito-all}} bundles {{hamcrest}} with it and makes it harder for downstream projects to manage/analyse their dependencies cleanly. 
> I suggest that, to be a good citizen, mrunit declares explicit dependencies on {{mockito-core}} instead as well as a {{test}} scoped dependency on {{hamcrest-core}}.



--
This message was sent by Atlassian JIRA
(v6.2#6252)