hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-12515) Mockito dependency is missing in hadoop-kafka module
Date Tue, 27 Oct 2015 11:16:27 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-12515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Akira AJISAKA updated HADOOP-12515:
-----------------------------------
    Target Version/s: 3.0.0
            Priority: Major  (was: Minor)
        Hadoop Flags: Reviewed
         Component/s: test
          Issue Type: Bug  (was: Test)
             Summary: Mockito dependency is missing in hadoop-kafka module  (was: hadoop-kafka
module doesn't resolve mockito related classes after imported into Intellij IDEA)

> 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)

Mime
View raw message