Findbugs不支持jdk11,我有一个项目,其中我有一个使用findbugs的依赖jar。
https:/github.comgleclairefindbugs-maven-pluginissues93。
虽然我的项目中没有findbugs maven插件,但由于依赖jar的原因,它仍然会执行。
我怎么才能阻止它执行,因为它每次都失败。
我试过下面的方法,但是没有用。
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${plugin.findbugs-maven-plugin.version}</version>
<configuration>
<excludeFilterFile>${project.basedir}/exclude-findbugs.xml</excludeFilterFile>
<failOnError>false</failOnError>
</configuration>
<executions>
<execution>
<goals>
<goal>findbugs</goal>
</goals>
<configuration>
<failOnError>false</failOnError>
<skip>true</skip>
</configuration>
</execution>
</executions>
</plugin>
谁能帮帮我?TIA
通过添加一个跳过标签为真,如下图。
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${plugin.findbugs-maven-plugin.version}</version>
<configuration>
<excludeFilterFile>${project.basedir}/exclude-findbugs.xml</excludeFilterFile>
<skip>true</skip>
</configuration>
</plugin>