Back to JDK8

Deploy fails even though duplicate javadoc and sources no longer
created.
This commit is contained in:
tastybento 2020-01-12 17:41:48 -08:00
parent bcbdb70cee
commit 0ac9dda75e
2 changed files with 7 additions and 6 deletions

View File

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

11
pom.xml
View File

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