Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Warnings regarding annotation used in 2.0-rc.3 #2090

Unanswered
HerrDerb asked this question in Q&A
Discussion options

I am using v2.0-rc.3 and when starting an application I get a load of warnings regarding annotation used in the github-api library.
Is there some optimization config issue?

.gradle\caches\modules-2\files-2.1\org.kohsuke\github-api2円.0-rc.3\aa2079a423762ba0ce99457038d4d81a13be8c07\github-api-2.0-rc.3.jar(/org/kohsuke/github/GitHub.class): warning: Cannot find annotation method 'value()' in type 'SuppressFBWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressFBWarnings not found
.gradle\caches\modules-2\files-2.1\org.kohsuke\github-api2円.0-rc.3\aa2079a423762ba0ce99457038d4d81a13be8c07\github-api-2.0-rc.3.jar(/org/kohsuke/github/GitHub.class): warning: Cannot find annotation method 'justification()' in type 'SuppressFBWarnings'
.gradle\caches\modules-2\files-2.1\org.kohsuke\github-api2円.0-rc.3\aa2079a423762ba0ce99457038d4d81a13be8c07\github-api-2.0-rc.3.jar(/org/kohsuke/github/GitHub.class): warning: Cannot find annotation method 'value()' in type 'SuppressFBWarnings'
.gradle\caches\modules-2\files-2.1\org.kohsuke\github-api2円.0-rc.3\aa2079a423762ba0ce99457038d4d81a13be8c07\github-api-2.0-rc.3.jar(/org/kohsuke/github/GitHub.class): warning: Cannot find annotation method 'justification()' in type 'SuppressFBWarnings'
.gradle\caches\modules-2\files-2.1\org.kohsuke\github-api2円.0-rc.3\aa2079a423762ba0ce99457038d4d81a13be8c07\github-api-2.0-rc.3.jar(/org/kohsuke/github/GHArtifact.class): warning: Cannot find annotation method 'value()' in type 'WithBridgeMethods': class file for com.infradna.tool.bridge_method_injector.WithBridgeMethods not found
.gradle\caches\modules-2\files-2.1\org.kohsuke\github-api2円.0-rc.3\aa2079a423762ba0ce99457038d4d81a13be8c07\github-api-2.0-rc.3.jar(/org/kohsuke/github/GHArtifact.class): warning: Cannot find annotation method 'adapterMethod()' in type 'WithBridgeMethods'
.gradle\caches\modules-2\files-2.1\org.kohsuke\github-api2円.0-rc.3\aa2079a423762ba0ce99457038d4d81a13be8c07\github-api-2.0-rc.3.jar(/org/kohsuke/github/GHArtifact.class): warning: Cannot find annotation method 'value()' in type 'SuppressFBWarnings'
.gradle\caches\modules-2\files-2.1\org.kohsuke\github-api2円.0-rc.3\aa2079a423762ba0ce99457038d4d81a13be8c07\github-api-2.0-rc.3.jar(/org/kohsuke/github/GHArtifact.class): warning: Cannot find annotation method 'justification()' in type 'SuppressFBWarnings'
.gradle\caches\modules-2\files-2.1\org.kohsuke\github-api2円.0-rc.3\aa2079a423762ba0ce99457038d4d81a13be8c07\github-api-2.0-rc.3.jar(/org/kohsuke/github/GHWorkflowRun.class): warning: Cannot find annotation method 'value()' in type 'WithBridgeMethods'
.gradle\caches\modules-2\files-2.1\org.kohsuke\github-api2円.0-rc.3\aa2079a423762ba0ce99457038d4d81a13be8c07\github-api-2.0-rc.3.jar(/org/kohsuke/github/GHWorkflowRun.class): warning: Cannot find annotation method 'adapterMethod()' in type 'WithBridgeMethods'
.gradle\caches\modules-2\files-2.1\org.kohsuke\github-api2円.0-rc.3\aa2079a423762ba0ce99457038d4d81a13be8c07\github-api-2.0-rc.3.jar(/org/kohsuke/github/GHWorkflowRun.class): warning: Cannot find annotation method 'value()' in type 'SuppressFBWarnings'
.gradle\caches\modules-2\files-2.1\org.kohsuke\github-api2円.0-rc.3\aa2079a423762ba0ce99457038d4d81a13be8c07\github-api-2.0-rc.3.jar(/org/kohsuke/github/GHWorkflowRun.class): warning: Cannot find annotation method 'justification()' in type 'SuppressFBWarnings'
.gradle\caches\modules-2\files-2.1\org.kohsuke\github-api2円.0-rc.3\aa2079a423762ba0ce99457038d4d81a13be8c07\github-api-2.0-rc.3.jar(/org/kohsuke/github/GHWorkflowRun.class): warning: Cannot find annotation method 'value()' in type 'SuppressFBWarnings'
.gradle\caches\modules-2\files-2.1\org.kohsuke\github-api2円.0-rc.3\aa2079a423762ba0ce99457038d4d81a13be8c07\github-api-2.0-rc.3.jar(/org/kohsuke/github/GHWorkflowRun.class): warning: Cannot find annotation method 'justification()' in type 'SuppressFBWarnings'
.gradle\caches\modules-2\files-2.1\org.kohsuke\github-api2円.0-rc.3\aa2079a423762ba0ce99457038d4d81a13be8c07\github-api-2.0-rc.3.jar(/org/kohsuke/github/GHWorkflowRun.class): warning: Cannot find annotation method 'value()' in type 'SuppressFBWarnings'
.gradle\caches\modules-2\files-2.1\org.kohsuke\github-api2円.0-rc.3\aa2079a423762ba0ce99457038d4d81a13be8c07\github-api-2.0-rc.3.jar(/org/kohsuke/github/GHWorkflowRun.class): warning: Cannot find annotation method 'justification()' in type 'SuppressFBWarnings'
.gradle\caches\modules-2\files-2.1\org.kohsuke\github-api2円.0-rc.3\aa2079a423762ba0ce99457038d4d81a13be8c07\github-api-2.0-rc.3.jar(/org/kohsuke/github/GitHub.class): warning: Cannot find annotation method 'value()' in type 'SuppressFBWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressFBWarnings not found
.gradle\caches\modules-2\files-2.1\org.kohsuke\github-api2円.0-rc.3\aa2079a423762ba0ce99457038d4d81a13be8c07\github-api-2.0-rc.3.jar(/org/kohsuke/github/GitHub.class): warning: Cannot find annotation method 'justification()' in type 'SuppressFBWarnings'
...
...
You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

It looks like there are annotations that are marked as optional dependencies, edu.umd.cs.findbugs.annotations.SuppressFBWarnings that are not loaded...

You must be logged in to vote
1 reply
Comment options

Would it be an option to provide spotbugs-annotations as runtime dependency instead of provided ? Currently , you have to add the dependency yourself in each project as this load of warnings is certainly not desired. Or what other options do you know?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /