Am 08.05.18 um 14:37 schrieb Paul Ray Russell:
V. pleased to say it's working for me. It builds using our current Maven
build ( which is targeted in Maven at JDK 9)
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.2</version>
<configuration>
<source>1.9</source>
<target>1.9</target>
<compilerArgument>
-Xlint:unchecked
</compilerArgument>
</configuration>
</plugin>
Trying to set a 1.11 release will give the Maven error:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.6.2:compile
(default-compile) on project KattRunOnTheTide: Fatal error compiling:
error: invalid target release: 1.11 -> [Help 1]
Have you tried using the latest Maven compiler plugin 3.7.0 ?