Not knowing what you tried, it's a little problematic to help.
Here is a snippet that we use to skip several error patterns that are present in the code created by Avro.
<FindBugsFilter> <Match> <Or> <Package name="~com[.]foo[.]plugh[.]avro([.].*)?" /> <Package name="~com[.]foo[.]xyzzy[.]protocol([.].*)?" /> </Or> <Or> <Bug pattern="RI_REDUNDANT_INTERFACES" /> <Bug pattern="NM_CLASS_NAMING_CONVENTION" /> <Bug pattern="REC_CATCH_EXCEPTION" /> </Or> </Match> <FindBugsFilter>
Dave newton
source share