Maven findbugs plugin
1 2 3 4 5 6 7 8 9 10 11 |
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>3.0.1</version> <configuration> <excludeFilterFile>file:///${project.basedir}/maven-plugin/findbugsfilter.xml</excludeFilterFile> <excludes> <exclude>src/main/webapp/**</exclude> </excludes> </configuration> </plugin> |
findbugsfilter.xml
1 2 3 4 5 6 |
<?xml version="1.0" encoding="UTF-8"?> <FindBugsFilter> <Match> <Bug category="I18N,MT_CORRECTNESS,SECURITY,PERFORMANCE"/> </Match> </FindBugsFilt> |