Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
-
Reviewed
Description
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.
--- 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>
Attachments
Attachments
Issue Links
- is duplicated by
-
HADOOP-12486 Mockito missing in pom.xml of hadoop-kafka
- Resolved