<?xml version="1.0" encoding="UTF-8"?> <FindBugsFilter> <Match> <!-- ignore all issues in resource generation --> <Class name="~.*\.R\$.*"/> </Match> <Match> <Class name="~.*\.Manifest\$.*"/> </Match> <!-- ignore all bugs in test classes, except for those bugs specifically relating to JUnit tests --> <Match> <Class name="~.*\.*Test" /> <!-- test classes are suffixed by 'Test' --> <Not> <Bug code="IJU" /> <!-- 'IJU' is the code for bugs related to JUnit test code --> </Not> </Match> </FindBugsFilter>