我正试图让Findbugs使用现有的/成熟的Maven项目。
<plugins>
我的标签
pom.xml
:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>3.0.5</version>
<configuration>
<effort>Max</effort>
<threshold>Low</threshold>
<xmlOutput>true</xmlOutput>
</configuration>
</plugin>
mvn site
. 因为我的项目的生成调用是aleady:
mvn clean jacoco:prepare-agent test site jxr:jxr -Dkey1=123 -Dkey2=456 -Denvironment=DEV
从这里我找不到任何“Findbugs”报告或任何提到Findbugs的东西。当我为Findbugs做grep时(
grep -rl "findbugs" .
./target/surefire-reports/TEST-*.xml
文件有一个术语”
查找Bugs
“他们提到过。
值得一提的是
见a
target/site/findbugs.html
成功生成后的文件。。。