[
https://issues.apache.org/jira/browse/HBASE-9083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13773054#comment-13773054
]
Nicolas Liochon commented on HBASE-9083:
----------------------------------------
bq. [WARNING] Used undeclared dependencies found:
[WARNING] commons-lang:commons-lang:jar:2.4:compile
[WARNING] org.slf4j:slf4j-api:jar:1.6.4:compile
This means that we're actually using these jar, so we should not remove them
from our pom.
For slf4j, it's what Elliott said.
For commons-lang, I don't know. May be we have this dependency for a wrong
reason and we should change the code that depends on it (like I did in
HBASE-9558).
For the org.mockito:mockito-all, it's because they are included by default. As
it's scoped "test", I think it's not an issue.
I've just committed the removal of commons-codec:commons-codec:jar:1.7:compile
and org.codehaus.jackson:jackson-xc:jar:1.8.8:compile in HBASE-9558.
For
[WARNING] tomcat:jasper-compiler:jar:5.5.23:runtime
[WARNING] tomcat:jasper-runtime:jar:5.5.23:runtime
I don't know if we can remove them.
> Downstreamers have to include a load of runtime dependencies
> ------------------------------------------------------------
>
> Key: HBASE-9083
> URL: https://issues.apache.org/jira/browse/HBASE-9083
> Project: HBase
> Issue Type: Sub-task
> Components: build
> Reporter: stack
> Labels: noob
> Fix For: 0.98.0
>
> Attachments: HBASE_9083.patch
>
>
> Here is example from 0.95. Downstream project includes hbase-client ONLY.
> To run the downstream project, here are the runtime dependencies currently.
> This is hadoop1.
> {code}
> java -cp
> target/client-1.0-SNAPSHOT.jar:/Users/stack/.m2/repository/org/apache/hbase/hbase-client/0.95.2-hadoop1-SNAPSHOT/hbase-client-0.95.2-hadoop1-SNAPSHOT.jar:/Users/stack/.m2/repository/org/apache/hbase/hbase-common/0.95.2-hadoop1-SNAPSHOT/hbase-common-0.95.2-hadoop1-SNAPSHOT.jar:/Users/stack/.m2/repository/org/apache/hadoop/hadoop-core/1.1.2/hadoop-core-1.1.2.jar:/Users/stack/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar:/Users/stack/.m2/repository/com/google/protobuf/protobuf-java/2.4.1/protobuf-java-2.4.1.jar:/Users/stack/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/Users/stack/.m2/repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar:/Users/stack/.m2/repository/org/apache/hbase/hbase-protocol/0.95.2-hadoop1-SNAPSHOT/hbase-protocol-0.95.2-hadoop1-SNAPSHOT.jar:/Users/stack/.m2/repository/org/apache/zookeeper/zookeeper/3.4.5/zookeeper-3.4.5.jar:/Users/stack/.m2/repository/org/slf4j/slf4j-api/1.6.4/slf4j-api-1.6.4.jar:/Users/stack/.m2/repository/com/google/guava/guava/12.0.1/guava-12.0.1.jar:/Users/stack/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.8.8/jackson-mapper-asl-1.8.8.jar:/Users/stack/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.8.8/jackson-core-asl-1.8.8.jar:/Users/stack/.m2/repository/org/cloudera/htrace/htrace/1.50/htrace-1.50.jar:/Users/stack/.m2/repository/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1.jar:/Users/stack/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar
> org.hbase.downstream.Client
> {code}
> Thats:
> {code}
> hbase-client
> base-common
> hbase-protocol
> hadoop-core
> commons-logging
> protobuf
> commons-lang
> commons-configuration
> zookeeper
> slf4j-api (AND commons-logging!)
> guava
> jackson-mapper-asl
> jackson-core-asl
> htrace
> slf4j-log4j12
> slf4j
> {code}
> Most of the above come in because of hadoop and zk (zk wants slf4j).
> Can we shed any of these?
--
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