whats your pom look like?
you need to specify the report details in the pom
http://mojo.codehaus.org/f
Main Topics
Browse All TopicsDear all,
I'm trying to run findbugs from within a maven pom.xml file.
I can run the following maven command fine:
mvn findbugs:findbugs
and I get a successfull run.
But I would like to see something happening, like a report being produced or a warning for potential bugs.. just something.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
whats your pom look like?
you need to specify the report details in the pom
http://mojo.codehaus.org/f
Here is the result I get on my project when I run the command
mvn findbugs:findbugs
[INFO] Preparing findbugs:findbugs
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [findbugs:findbugs]
[INFO] No effort provided, using default effort.
[INFO] Using normal threshold.
[INFO] Using FindBugs Version: 1.2.1
[INFO] Using normal threshold.
[INFO] Using normal threshold.
[INFO] Using the xdoc format
[INFO] No effort provided, using default effort.
[INFO] Using normal threshold.
[INFO] Using normal threshold.
[INFO] Debugging is Off
[INFO] No bug include filter.
[INFO] No bug exclude filter.
[INFO] Printing Errors
[INFO] Printing Missing classes
[INFO] Printing Source Roots
And my pom.xml file plugin looks like:
<plugin>
<groupId>org.codehaus.mojo</g
<artifactId>findbugs-maven-p
<configuration>
<threshold>Normal</threshold>
<relaxed>true</relaxed>
<xmlOutput>true</xmlOutput>
</configuration>
</plugin>
Hello,
In fact I did not use the property xmlOutputDirectory and I could see the report anyway. I guess this property was not needed.
Thanks for the suggestion anyway.
Now I have an issue with my configuration of findbugs and maybe you would have an idea..
I'd like findbugs not to report the bugs of type UwF: Field not initialized in constructor (UWF_FIELD_NOT_INITIALIZED
http://findbugs.sourceforg
You would know how to configure findbugs so as it does not report these..?
Cheers
> In fact I did not use the property xmlOutputDirectory and I could see the report anyway. I guess this property was not needed.
depends if u are happy with default location or not
> You would know how to configure findbugs so as it does not report these..?
not sure if you can filter out specific bugs
the following option looks hopeful but it is not documented very well
<excludeFilterFile>findbug
Business Accounts
Answer for Membership
by: stephaneeybertPosted on 2009-02-22 at 09:17:47ID: 23705544
Hello,
I looked for more zones but could not find any.
I guess it's in the field of Java project automation.
Maven is cross platform Linux and Windows.
It is used to build software projects.
I can't think of anything more to tell you.
Sorry.
Thanks anyway.