<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jayway Team Blog &#187; Davor Crnomat</title>
	<atom:link href="http://blog.jayway.com/author/davorcrnomat/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jayway.com</link>
	<description>Sharing Experience</description>
	<lastBuildDate>Tue, 20 Jul 2010 08:26:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Maven, FindBugs and Dashboard Reports</title>
		<link>http://blog.jayway.com/2010/01/29/maven-findbugs-and-dashboard-reports/</link>
		<comments>http://blog.jayway.com/2010/01/29/maven-findbugs-and-dashboard-reports/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 20:02:59 +0000</pubDate>
		<dc:creator>Davor Crnomat</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Testing]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://blog.jayway.com/?p=4571</guid>
		<description><![CDATA[There are a few simple steps to get nice graphic presentations of FindBugs results using Maven.

First, to enable FindBugs reporting in Maven, just add report section to your pom files, something like example below, but of course, you can do your own configuration.]]></description>
			<content:encoded><![CDATA[<p>There are a few simple steps to get nice graphic presentations of FindBugs results using Maven.</p>
<p>First, to enable FindBugs reporting in Maven, just add report section to your pom files, something like example below, but of course, you can do your own configuration.</p>
<pre class="brush:xml">
&lt;reporting&gt;
  &lt;plugins&gt;
    &lt;plugin&gt;
      &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
      &lt;artifactId&gt;findbugs-maven-plugin&lt;/artifactId&gt;
      &lt;version&gt;2.3&lt;/version&gt;
      &lt;configuration&gt;
        &lt;excludeFilterFile&gt;exclude.xml&lt;/excludeFilterFile&gt;
        &lt;findbugsXmlOutput&gt;true&lt;/findbugsXmlOutput&gt;
        &lt;findbugsXmlWithMessages&gt;true&lt;/findbugsXmlWithMessages&gt;
        &lt;threshold&gt;Low&lt;/threshold&gt;
        &lt;effort&gt;Max&lt;/effort&gt;
        &lt;xmlOutput&gt;true&lt;/xmlOutput&gt;
      &lt;/configuration&gt;
    &lt;/plugin&gt;
  &lt;/plugins&gt;
&lt;/reporting&gt;
</pre>
<p>Then you can just use command <strong>mvn site </strong>if you want to generate<strong> </strong>more comprehensive project information or <strong>mvn findbugs:findbugs </strong>for only FindBugs reports.</p>
<p>Finally use <strong>mvn dashboard:dashboard</strong> to generate charts.</p>
<p>Voila. We have got nice graphic reports.<br />
Well, not so nice. We have bugs we need to fix.</p>
<p><a href="http://blog.jayway.com/wordpress/wp-content/uploads/2010/01/findbugs_report.jpg" rel="lightbox"><img class="size-full wp-image-4572 alignleft" title="findbugs_report" src="http://blog.jayway.com/wordpress/wp-content/uploads/2010/01/findbugs_report.jpg" alt="FindBugs report charts" width="621" height="686" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jayway.com/2010/01/29/maven-findbugs-and-dashboard-reports/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
