[
https://issues.apache.org/jira/browse/HBASE-16321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15411139#comment-15411139
]
Andrew Purtell commented on HBASE-16321:
----------------------------------------
It's the {{NonNull}} annotation.
If I remove it from hbase-common when we get to hbase-client we can see the
problem. I was wrong about class file version, but still close:
{noformat}
[ERROR]
edu/umd/cs/findbugs/annotations/Nullable.class(edu/umd/cs/findbugs/annotations:Nullable.class):
warning: Cannot find annotation method 'when()' in type
'javax.annotation.Nonnull': class file for javax.annotation.Nonnull not found
[ERROR] An exception has occurred in the compiler (1.6.0_45). Please file a bug
at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after
checking the Bug Parade for duplicates. Include your program and the following
diagnostic in your report. Thank you.
{noformat}
> Ensure findbugs jsr305 jar isn't present
> ----------------------------------------
>
> Key: HBASE-16321
> URL: https://issues.apache.org/jira/browse/HBASE-16321
> Project: HBase
> Issue Type: Sub-task
> Components: dependencies
> Reporter: Sean Busbey
> Assignee: Sean Busbey
> Priority: Blocker
> Fix For: 2.0.0, 1.3.0, 1.4.0, 1.1.6, 0.98.21, 1.2.3
>
> Attachments: 16321-amend.txt, HBASE-16321.1.patch, HBASE-16321.2.patch
>
>
> we should be using
> {code}
> <dependencies>
> <dependency>
> <groupId>com.github.stephenc.findbugs</groupId>
> <artifactId>findbugs-annotations</artifactId>
> <version>${findbugs-annotations}</version>
> <scope>compile</scope>
> </dependency>
> {code}
> to ensure we don't have a prohibited dependency, but it looks like we're
> still bringing in
> {code}
> <dependency>
> <groupId>com.google.code.findbugs</groupId>
> <artifactId>jsr305</artifactId>
> <version>${jsr305.version}</version>
> </dependency>
> {code}
> remove the findbugs version (even though the maven central pom claims the
> license is ALv2, that doesn't line up with the referenced project sites).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)