Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12515

Mockito dependency is missing in hadoop-kafka module

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: test
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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

          Issue Links

            Activity

              People

              • Assignee:
                drankye Kai Zheng
                Reporter:
                drankye Kai Zheng
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: