在maven中生成findbugs html报告

时间:2014-01-27 05:38:00

标签: maven findbugs

如何生成find bug html报告?

我在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>

当我mvn findbugs:findbugs时,我会收到xml报告。

当我mvn site时,我会收到其他一些错误。

提前谢谢。

0 个答案:

没有答案
相关问题