You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Akira AJISAKA (JIRA)" <ji...@apache.org> on 2015/10/27 12:18:27 UTC

[jira] [Commented] (HADOOP-12515) Mockito dependency is missing in hadoop-kafka module

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

Akira AJISAKA commented on HADOOP-12515:
----------------------------------------

I've committed this to trunk. Thanks [~drankye] for the contribution.

> Mockito dependency is missing in hadoop-kafka module
> ----------------------------------------------------
>
>                 Key: HADOOP-12515
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12515
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>            Reporter: Kai Zheng
>            Assignee: Kai Zheng
>         Attachments: HADOOP-12515-v1.patch
>
>
> When importing Hadoop project into Intellij IDEA, it was found hadoop-kafka module doesn't resolve mockito related classes. The following change addressed the issue.
> {code}
> --- a/hadoop-tools/hadoop-kafka/pom.xml
> +++ b/hadoop-tools/hadoop-kafka/pom.xml
> @@ -125,5 +125,10 @@
>        <artifactId>junit</artifactId>
>        <scope>test</scope>
>      </dependency>
> +    <dependency>
> +      <groupId>org.mockito</groupId>
> +      <artifactId>mockito-all</artifactId>
> +      <scope>test</scope>
> +    </dependency>
>    </dependencies>
>  </project>
> {code}



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