hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Drob (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19422) Exclude dependency on com.google.code.findbugs.jsr305
Date Mon, 04 Dec 2017 22:01:00 GMT

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

Mike Drob commented on HBASE-19422:
-----------------------------------

In the root pom.xml we already have

{code}
         <dependency>
           <groupId>org.apache.hadoop</groupId>
           <artifactId>hadoop-auth</artifactId>
           <version>${hadoop-three.version}</version>
           <exclusions>
             <exclusion>
               <groupId>com.google.guava</groupId>
               <artifactId>guava</artifactId>
             </exclusion>
           </exclusions>
         </dependency>
{code}

Something else is wrong with the build then.

> Exclude dependency on com.google.code.findbugs.jsr305
> -----------------------------------------------------
>
>                 Key: HBASE-19422
>                 URL: https://issues.apache.org/jira/browse/HBASE-19422
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 19422.v1.txt
>
>
> When building master branch against hadoop 3 beta1, I got:
> {code}
> [WARNING] Rule 0: org.apache.maven.plugins.enforcer.BannedDependencies failed with message:
> We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.
> Found Banned Dependency: com.google.code.findbugs:jsr305:jar:1.3.9
> {code}
> Here is part of the dependency tree showing the dependency:
> {code}
> [INFO] org.apache.hbase:hbase-client:jar:3.0.0-SNAPSHOT
> ...
> [INFO] +- org.apache.hadoop:hadoop-auth:jar:3.0.0-beta1:compile
> ...
> [INFO] |  \- com.google.guava:guava:jar:11.0.2:compile
> [INFO] |     \- com.google.code.findbugs:jsr305:jar:1.3.9:compile
> {code}
> We need to exclude jsr305 so that build succeed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message