You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Andrew Wang (JIRA)" <ji...@apache.org> on 2016/05/03 01:04:12 UTC

[jira] [Commented] (HADOOP-12868) hadoop-openstack's pom has missing and unused dependencies

    [ https://issues.apache.org/jira/browse/HADOOP-12868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15267696#comment-15267696 ] 

Andrew Wang commented on HADOOP-12868:
--------------------------------------

LGTM, though I'll note that my {{mvn dependency:analyze}} run also shows an unused hadoop-common:test-jar dependency:

{noformat}
[WARNING] Used undeclared dependencies found:
[WARNING]    org.apache.hadoop:hadoop-annotations:jar:2.9.0-SNAPSHOT:compile
[WARNING]    commons-logging:commons-logging:jar:1.1.3:compile
[WARNING] Unused declared dependencies found:
[WARNING]    org.apache.hadoop:hadoop-common:test-jar:tests:2.9.0-SNAPSHOT:compile
[WARNING]    commons-io:commons-io:jar:2.4:compile
[WARNING]    org.mockito:mockito-all:jar:1.8.5:provided
[WARNING]    com.google.guava:guava:jar:11.0.2:test
{noformat}

Is this my env? I don't see any commits to hadoop-openstack between your comment and my run, so not sure why this would have changed.

FWIW I removed this dep and was still able to build successfully in the hadoop-openstack dir.

> hadoop-openstack's pom has missing and unused dependencies
> ----------------------------------------------------------
>
>                 Key: HADOOP-12868
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12868
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: 3.0.0
>            Reporter: Allen Wittenauer
>            Priority: Blocker
>         Attachments: HADOOP-12868.001.patch
>
>
> Attempting to compile openstack on a fairly fresh maven repo fails due to commons-httpclient not being a declared dependency.  After that is fixed, doing a maven dependency:analyze shows other problems.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org