Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid Gradle build warnings about @SuppressFBWarnings from FindBugs #34418

Closed
sbrannen opened this issue Feb 12, 2025 · 0 comments
Closed

Avoid Gradle build warnings about @SuppressFBWarnings from FindBugs #34418

sbrannen opened this issue Feb 12, 2025 · 0 comments
Assignees
Labels
type: task A general task
Milestone

Comments

@sbrannen
Copy link
Member

Overview

Even though the spring-webmvc.gradle build file already configures a compileOnly("com.google.code.findbugs:findbugs") dependency, when we run the Gradle build we currently encounter the following warnings related to @SuppressFBWarnings from FindBugs.

> Task :spring-webmvc:compileTestJava
/Users/<...>/.gradle/caches/modules-2/files-2.1/org.apache.groovy/groovy-templates/4.0.24/5dd5db2585048581fdf96023253e596c381d161c/groovy-templates-4.0.24.jar(/groovy/text/TemplateEngine.class): warning: Cannot find annotation method 'value()' in type 'SuppressFBWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressFBWarnings not found
/Users/<...>/.gradle/caches/modules-2/files-2.1/org.apache.groovy/groovy-templates/4.0.24/5dd5db2585048581fdf96023253e596c381d161c/groovy-templates-4.0.24.jar(/groovy/text/TemplateEngine.class): warning: Cannot find annotation method 'justification()' in type 'SuppressFBWarnings'
2 warnings

Related Issues

@sbrannen sbrannen added the type: task A general task label Feb 12, 2025
@sbrannen sbrannen added this to the 6.2.3 milestone Feb 12, 2025
@sbrannen sbrannen self-assigned this Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

No branches or pull requests

1 participant