How to configure findbugs plugin in eclipse?

Got the same Problem. Actually its really simple.

In Eclipse:

File -> Export -> General -> Preferences

If you click next you will find several Preferences to export. You will also find Findbugs Preferences.

If you want to import the settings to another Eclipse just use:

File -> Import -> General -> Preferences and select the exported File ;)

Hope that helps! Sorry cant post any images because im new here...


You can use a 'filter file'. In eclipse, go to:

Window --> Preferences --> Java --> FindBugs --> Filter files (tab) --> In Include filter files select Add..

Then choose your xml configuration file (It may be the one exported from Sonar configuration that Kayser talked about).