title: How to generate a html report for findbugs with Maven 3.x
body: <p>Has anybody managed to configure the findbugs Maven 3.x plugin to produce both an xml and html report? (I want the xml one for Jenkins and the html one for checking prior to a commit)</p>
  
  <p>I've seen a lot of documentation on the web on setting this up, but most of it <em>appears</em> to be for Maven 2.x, which I know is configured differently (annoyingly the 2.x configuration is silently ignored by 3.x). I'm new to Maven, so I'm not sure if I'm doing something wrong or I'm following old instructions.</p>
  
  <p>My pom contains the following:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;/build&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.3&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;!-- findbugs:help -Ddetail=true  for outputDirectory:
                       Location where generated html will be created. 
                   --&gt;
                  &lt;outputDirectory&gt;${project.build.directory}/findbugs&lt;/outputDirectory&gt;
  
                  &lt;xmlOutput&gt;true&lt;/xmlOutput&gt;
                  &lt;findbugsXmlWithMessages&gt;true&lt;/findbugsXmlWithMessages&gt;
                  &lt;xmlOutputDirectory&gt;target/findbugs&lt;/xmlOutputDirectory&gt;
                  &lt;failOnError&gt;false&lt;/failOnError&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>