私はこのプラグインでfindbugsとmavenを実行していますが、Eclipseを使用して最大設定20のバグを見つけても、ビルドに失敗します。Maven with Findbugs
なぜEclipseのFindBugsのプラグインとMaven FindBugsのプラグインとの間のこのような不一致がある:今では33
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.0.1</version>
<configuration>
<threshold>Ignore</threshold>
<xmlOutput>true</xmlOutput>
</configuration>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
二つの質問で失敗しますか?
Eclipse FindbugsにMaven Findbugsから生成されたfindbugscheck.xmlをロードして、自分のコードが自動的にハイライトされるようにすることはできますか? xmlファイルを介した釣りは非常に面倒です。