-
Notifications
You must be signed in to change notification settings - Fork 769
-
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'
...
...
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 1 reply
-
It looks like there are annotations that are marked as optional dependencies, edu.umd.cs.findbugs.annotations.SuppressFBWarnings that are not loaded...
Beta Was this translation helpful? Give feedback.
All reactions
-
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?
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1