 <p>You need to use a filter file, a filter file can say what file patterns to include, exclude among other things... There's documentation here <a href="http://findbugs.sourceforge.net/manual/filter.html" rel="nofollow noreferrer">http://findbugs.sourceforge.net/manual/filter.html</a></p>