このプラグインでfindbugsとmavenを実行していますが、Eclipseで最大設定が20のfind bugsを実行しても、ビルドは失敗します。バグは0になります。今では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>
2つの質問:
EclipseFindbugsプラグインとMavenFindbugsプラグインの間にこのような不一致があるのはなぜですか?
どういうわけか、EclipseFindbugsにMavenFindbugsから生成されたfindbugscheck.xmlをロードさせて、コードが自動的に強調表示されるようにすることはできますか?xmlファイルを介して釣りをするのは非常に面倒です。