You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2013/08/01 22:57:48 UTC

[jira] [Updated] (HBASE-9094) Rationalize dependencies; fix analysis complaints about used but non-declared dependencies

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

stack updated HBASE-9094:
-------------------------

    Resolution: Duplicate
        Status: Resolved  (was: Patch Available)

Marking as a dup of HBASE-8224 (or at least subsumed by HBASE-8224).  The patch attached here has been rolled into HBASE-8224's.  It is easier doing this rationalization as part of the HBASE-8224 project.
                
> Rationalize dependencies; fix analysis complaints about used but non-declared dependencies
> ------------------------------------------------------------------------------------------
>
>                 Key: HBASE-9094
>                 URL: https://issues.apache.org/jira/browse/HBASE-9094
>             Project: HBase
>          Issue Type: Sub-task
>          Components: build
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.98.0, 0.95.2
>
>         Attachments: dep2.txt, dep3.txt, dep.txt
>
>
> Do a cleanup pass through our dependency set so downstreamers get good picture of what they need to include looking at pom.
> Poking with dependency plugin, found the following issues:
> + hbase-common is missing listing of a bunch of commons libs
> + Some of our classes make use of slf4j for no good reason.  zk, thrift, netty, and yammer, use slf4j but no need for us to be in the slf4j managing game... so I undid our use of it and stop its transitive include everywhere.
> + hbase-examples and hbase-it do not declare includes like hbase-client, hbase-protocol, etc.
> + hbase-hadoop1-compat depended on log4j but doesn't use it.
> + hbase-prefix-tree depends on hadoop but does not declare it (uses WritiableUtil and RawComparator -- just two imports... uses the Audience annotations which we could just remove but still these two critical includes)
> + hbase-server wasn't declaring its use of commons-*.  Also added excludes of transitive include of log4j by zk and yammer.  Got rid of slf4j as a dependency.
> + Add declarations for used libs such as httpclient and commons-math to top-level pom.
> + Removed setting versions on hadoop1 and hadoop2 profile for slf4j mess.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira