Findbugs maven奇怪的警告

时间:2018-04-11 14:43:15

标签: java maven findbugs spotbugs

我正在使用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.

我应该担心还是忽略它?

0 个答案:

没有答案