Skip to content

Commit 3897c78

Browse files
committed
Back to JDK8. Try again in a few months.
1 parent fc3d15d commit 3897c78

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ addons:
55
organization: "bentobox-world"
66

77
jdk:
8-
- openjdk11
8+
- openjdk8
99

1010
script:
1111
#- sonar-scanner

pom.xml

+6-3
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,8 @@
321321
<artifactId>maven-compiler-plugin</artifactId>
322322
<version>3.8.1</version>
323323
<configuration>
324-
<release>8</release>
324+
<source>${java.version}</source>
325+
<target>${java.version}</target>
325326
</configuration>
326327
</plugin>
327328
<plugin>
@@ -338,16 +339,18 @@
338339
<groupId>org.apache.maven.plugins</groupId>
339340
<artifactId>maven-javadoc-plugin</artifactId>
340341
<version>3.1.1</version>
341-
<configuration>
342+
<configuration>
343+
<source>8</source>
342344
<show>private</show>
343345
<failOnError>false</failOnError>
344346
<additionalJOption>-Xdoclint:none</additionalJOption>
345347
<!-- To compile with Java 11, this tag may be required -->
346-
<javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>
348+
<!-- <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable>-->
347349
</configuration>
348350
<executions>
349351
<execution>
350352
<id>attach-javadocs</id>
353+
<phase>install</phase>
351354
<goals>
352355
<goal>jar</goal>
353356
</goals>

0 commit comments

Comments
 (0)