It is easy to get lost in the volume of defects found by static code review tools. Another Quality Assurance attack pattern is to clean up the defects package by package, concentrating developer time on the most used features.
This recipe will show you how to generate and report defects found by FindBugs for specific packages.
Install the Jenkins FindBugs plugin (https://wiki.jenkins-ci.org/display/JENKINS/FindBugs+Plugin).
mvn archetype:generate -DgroupId=nl.berg.packt.FindBugs_all -DartifactId=FindBugs_all -DarchetypeArtifactId=maven-archetype-quickstart -Dversion=1.0-SNAPSHOT
pom.xml, add a build section just before the
</project>tag, with ...