Kai Zheng created HADOOP-12515:
----------------------------------

             Summary: 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


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)

Reply via email to