diff --git a/.travis.yml b/.travis.yml index 16c6d422475..be35906e7c3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,6 +31,9 @@ cache: matrix: include: + # Java 11 build + - jdk: openjdk11 + # license checks - env: - NAME="license checks" diff --git a/pom.xml b/pom.xml index daadaaa6244..193951a846d 100644 --- a/pom.xml +++ b/pom.xml @@ -73,6 +73,7 @@ 1.8 1.8 + 8 UTF-8 4.1.0 2.12.0 @@ -1348,6 +1349,7 @@ org.apache.maven.plugins maven-compiler-plugin + 3.8.1 ${maven.compiler.source} ${maven.compiler.target} @@ -1367,6 +1369,33 @@ + + java-9+ + + [9,) + + + + + org.apache.maven.plugins + maven-compiler-plugin + true + + + ${java.version} + + + + org.apache.maven.plugins + maven-surefire-plugin + + + true + + + + + strict