Please provide steps to integrate findbugs with maven
1234 次
2 に答える
4
Maven Findbugs プラグインを使用します。例については、プラグインの使用方法のページを参照してください。
于 2010-06-14T13:28:02.733 に答える
0
FindBugs は、Java プログラムのバグを探します。これは、Maven と統合するためのバグ パターンの概念に基づいており、プラグイン セクションに以下を記述します。
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.0.1</version>
<configuration>
<xmlOutput>true</xmlOutput>
<!– Optional directory to put FindBugs xdoc xml report –>
<xmlOutputDirectory>target/site</xmlOutputDirectory>
<threshold>High</threshold>
</configuration>
</plugin>
于 2012-10-26T06:51:03.250 に答える