[
https://issues.apache.org/jira/browse/HBASE-11412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14253267#comment-14253267
]
Sergey Beryozkin commented on HBASE-11412:
------------------------------------------
Are you referring to these top 2 hadoop-common exclusions ?
{code:xml}
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
<exclusion>
<groupId>com.github.stephenc.findbugs</groupId>
<artifactId>findbugs-annotations</artifactId>
</exclusion>
<!-- -->
</exclusions>
</dependency>
{code}
I can provide a new patch and make those two dependencies 'optional' or may be
even test scope ? Clearly exluding them does not affect runing the client but
having Eclipse reporting an error is a nuisance indeed. My bad - I haven't
tried how a refreshed Eclipse workspace would deal with it
> Minimize a number of hbase-client transitive dependencies
> ---------------------------------------------------------
>
> Key: HBASE-11412
> URL: https://issues.apache.org/jira/browse/HBASE-11412
> Project: HBase
> Issue Type: Improvement
> Components: Client
> Affects Versions: 0.98.3
> Reporter: Sergey Beryozkin
> Assignee: Sergey Beryozkin
> Priority: Minor
> Fix For: 1.0.0, 2.0.0
>
> Attachments: hbase11412.txt, hbase11412_2.patch, hbase11412_3.patch
>
>
> hbase-client has a number of transitive dependencies not needed for a client
> mode execution. In my test I've added the following exclusions:
> {code:xml}
> <exclusions>
> <exclusion>
> <groupId>com.sun.jersey</groupId>
> <artifactId>jersey-server</artifactId>
> </exclusion>
> <exclusion>
> <groupId>com.sun.jersey</groupId>
> <artifactId>jersey-core</artifactId>
> </exclusion>
> <exclusion>
> <groupId>com.sun.jersey</groupId>
> <artifactId>jersey-json</artifactId>
> </exclusion>
> <exclusion>
> <groupId>com.sun.jersey.contribs</groupId>
> <artifactId>jersey-guice</artifactId>
> </exclusion>
> <exclusion>
> <groupId>com.google.inject</groupId>
> <artifactId>guice</artifactId>
> </exclusion>
> <exclusion>
> <groupId>com.google.inject.extensions</groupId>
> <artifactId>guice-servlet</artifactId>
> </exclusion>
> <exclusion>
> <groupId>org.mortbay.jetty</groupId>
> <artifactId>jetty</artifactId>
> </exclusion>
> <exclusion>
> <groupId>org.mortbay.jetty</groupId>
> <artifactId>jetty-util</artifactId>
> </exclusion>
> <exclusion>
> <groupId>commons-httpclient</groupId>
> <artifactId>commons-httpclient</artifactId>
> </exclusion>
> </exclusions>
> {code}
> Proposal: add related exclusions to some of the dependencies hbase-client
> depends upon.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)