findbugs-maven-plugin icon indicating copy to clipboard operation
findbugs-maven-plugin copied to clipboard

Is there any way to get this plugin to respect SuppressFBWarnings?

Open Nadahar opened this issue 9 years ago • 1 comments

I've been trying to figure out how to configure this plugin to respect @SuppressFBWarnings annotations but have failed so far. Is there a way, or am I trying to do something impossible?

I'd like to avoid having to suppress both with @SuppressFBWarnings and <excludeFilterFile> for each suppression.

Nadahar avatar Nov 25 '15 16:11 Nadahar

I use those annotations like this:

@SuppressFBWarnings(value = "SOME_BUG_PATTERN", justification = "I'm a barbie girl")
public static void someMethod() {

And they do get respected. Plugin version 3.0.3.

VsevolodGolovanov avatar Apr 01 '16 15:04 VsevolodGolovanov