Try JDK11 again

This commit is contained in:
tastybento 2020-01-12 17:25:33 -08:00
parent bcce54cedc
commit bcbdb70cee
2 changed files with 6 additions and 7 deletions

View File

@ -5,7 +5,7 @@ addons:
organization: "bentobox-world"
jdk:
- openjdk8
- openjdk11
script:
#- sonar-scanner

11
pom.xml
View File

@ -321,10 +321,9 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<!-- To build with Java 9+ use <release>8</release> here
instead of source and target tags -->
<source>${java.version}</source>
<target>${java.version}</target>
<!-- To build with Java 8 use <source>${java.version}</source>
<target>${java.version}</target> -->
<release>8</release>
</configuration>
</plugin>
<plugin>
@ -345,8 +344,8 @@
<show>private</show>
<failOnError>false</failOnError>
<additionalJOption>-Xdoclint:none</additionalJOption>
<!-- To compile with Java 11, this tag may be required -->
<!-- <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> -->
<!-- To compile with Java 8, remove this tag -->
<javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
<source>8</source>
</configuration>
<executions>