[findbugs is the example here, question is applicable to any such maven plugin]
I attended a build lecture not long ago and a pattern that was talked about that I quite liked was: when adding a new tool to the chain and you start with n violations, you should keep n decreasing (a high water mark) and fail the build only when current check exceeds the last value of n.
findbugs has just been introduced to our build and we were looking for a way to implement this pattern. We couldn’t see any way to do it via the plugin configuration, so was curious if anyone out there could mention how they have achieved this. I guess the obvious way is to customize the plugin, but before we go charging ahead, would like to hear thoughts from others.
I have raised this issue in the maven findbugs tracker (see http://jira.codehaus.org/browse/MFINDBUGS-115).
Further as part of raising this I have coded a submitted a patch. We are running this patch with success in our large multi-module project.
You could either sync the code and apply the patch by following the instructions on the findbugs-maven-plugin site or hopefully the patch or a derivation of it might be accepted into some future version of the plugin.