Make project build on Java 11

pull/81/head
Richard Körber 2019-01-26 14:06:28 +01:00
parent 0c6843ddd7
commit ca5aee98ce
No known key found for this signature in database
GPG Key ID: AAB9FD19C78AA3E0
2 changed files with 18 additions and 3 deletions

View File

@ -80,7 +80,10 @@
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>3.1.1</version>
<version>3.1.10</version>
<configuration>
<excludeFilterFile>src/config/spotbugs-exclude.xml</excludeFilterFile>
</configuration>
<executions>
<execution>
<goals>
@ -92,7 +95,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.20.1</version>
<version>2.22.1</version>
<configuration>
<parallel>classes</parallel>
<threadCount>10</threadCount>
@ -193,7 +196,6 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.1</version>
<configuration>
<detectLinks>true</detectLinks>
<doclint>syntax,reference</doclint>
<linksource>true</linksource>
<locale>en</locale>

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<FindBugsFilter
xmlns="https://github.com/spotbugs/filter/3.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://github.com/spotbugs/filter/3.0.0 https://raw.githubusercontent.com/spotbugs/spotbugs/3.1.0/spotbugs/etc/findbugsfilter.xsd">
<!-- False positive on Java 11 -->
<!-- Workaround for https://github.com/spotbugs/spotbugs/issues/756 -->
<Match>
<Bug pattern="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE" />
</Match>
</FindBugsFilter>