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?

Thanks

Answers


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.


Need Your Help

message passing and signaling in distributed system

java video distributed message zookeeper

I have a distributed video analysis system, which is composed of:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.