[
https://issues.apache.org/jira/browse/HADOOP-12515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Loughran updated HADOOP-12515:
------------------------------------
Status: Patch Available (was: Open)
> hadoop-kafka module doesn't resolve mockito related classes after imported
> into Intellij IDEA
> ---------------------------------------------------------------------------------------------
>
> Key: HADOOP-12515
> URL: https://issues.apache.org/jira/browse/HADOOP-12515
> Project: Hadoop Common
> Issue Type: Test
> Reporter: Kai Zheng
> Assignee: Kai Zheng
> Priority: Minor
> 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)