forked from gleclaire/findbugs-maven-plugin
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #469 from hazendaz/spotbugs
For project self usage, add spotbugs exclusion rules
- Loading branch information
Showing
2 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<FindBugsFilter> | ||
<!-- Not a concerning issue here --> | ||
<Match> | ||
<Source name="~.*\.groovy" /> | ||
<Bug pattern="EI_EXPOSE_REP" /> | ||
</Match> | ||
<!-- Not a concerning issue here --> | ||
<Match> | ||
<Source name="~.*\.groovy" /> | ||
<Bug pattern="EI_EXPOSE_REP2" /> | ||
</Match> | ||
<!-- Two of these were resolved but fb-contrib thinks not (bug in fb-contrib?) --> | ||
<Match> | ||
<Source name="~.*\.groovy" /> | ||
<Bug pattern="LEST_LOST_EXCEPTION_STACK_TRACE" /> | ||
</Match> | ||
<!-- Not a concerning issue here --> | ||
<Match> | ||
<Source name="~.*\.groovy" /> | ||
<Bug pattern="PCOA_PARTIALLY_CONSTRUCTED_OBJECT_ACCESS" /> | ||
</Match> | ||
<!-- Caused by groovy closures, suggested way to ignore --> | ||
<Match> | ||
<Source name="~.*\.groovy" /> | ||
<Bug pattern="SE_NO_SERIALVERSIONID" /> | ||
</Match> | ||
<!-- Excluding xxe as from maven help mojo and we are otherwise all groovy --> | ||
<Match> | ||
<Source name="~.*\.java" /> | ||
<Bug pattern=" XXE_DOCUMENT" /> | ||
</Match> | ||
</FindBugsFilter> |