Is it possible for the FindBugs plugin for eclipse to report as errors instead of warnings?
I am working on a very large legacy code base. We are looking to introduce FindBugs into the development practice.
I intend to have FindBugs run whenever the code is built by eclipse.
I would like to be able to make the findbugs warnings appear as errors in the code much in this way you can change the severity level in eclipse
Is it possible for eclipse to report the warnings it produces as errors?
The accepted answer is out of date now. I don't know the release it changed in, but the Reporter Configuration tab of the FindBugs Eclipse plugin preferences dialog now allows you to configure each severity of bug (Scariest, Scary, Troubling, and Of Concern) as Info, Warning, or Error. Bugs marked as Error will cause the build to fail.