我正在使用 maven 3.5.2 和 findbugs maven 插件的以下配置:
<!-- Findbugs checks -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${findbugs.maven.version}</version>
<configuration>
<effort>Max</effort>
<excludeFilterFile>findbugs-filter.xml</excludeFilterFile>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
findbugs-filter.xml 包含:
<FindBugsFilter>
<Match>
<Bug code="" category="EXPERIMENTAL" />
</Match>
</FindBugsFilter>
我收到以下警告:
[INFO] --- findbugs-maven-plugin:3.0.4:findbugs (findbugs) @ api ---
[INFO] Fork Value is true
[java] Dub 11, 2018 4:30:38 ODP. java.util.prefs.WindowsPreferences <init>
[java] WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
我应该担心还是忽略它?