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" organization: "bentobox-world"
jdk: jdk:
- openjdk11 - openjdk8
script: script:
#- sonar-scanner #- sonar-scanner

11
pom.xml
View File

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