1

How can I generate find bug html report?

I added the following in AND

<plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>findbugs-maven-plugin</artifactId>
    <version>2.3.2</version>
    <configuration>
        <excludeFilterFile>findbugsExclude.xml</excludeFilterFile>
        <xmlOutput>true</xmlOutput>
        <threshold>Low</threshold>
        <failOnError>false</failOnError>
        <effort>Max</effort>
        <includeTests>true</includeTests>
        <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
    </configuration>
</plugin>

When I do mvn findbugs:findbugs, I get the xml report.

When I do mvn site, I get some other errors.

Thank you in advance.

DB5
  • 13,553
  • 7
  • 66
  • 71

0 Answers0