From 17b702d9c3c0971e04eb8386ab83bf2fb2630714 Mon Sep 17 00:00:00 2001 From: Jimmy Lin Date: Thu, 11 Jul 2019 10:41:34 -0400 Subject: [PATCH] Upgrade to Java 11 (#743) --- .travis.yml | 2 +- pom.xml | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 216ae8bf30..23050e7832 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ before_install: install: true dist: trusty jdk: - - oraclejdk8 + - oraclejdk11 script: - mvn clean package appassembler:assemble - find target/appassembler/bin/ -type f -exec sed -i 's/-Xmx.*G/-Xmx2G/g' {} \; diff --git a/pom.xml b/pom.xml index ecaf34f78b..78e4355d8a 100644 --- a/pom.xml +++ b/pom.xml @@ -76,12 +76,12 @@ org.apache.maven.plugins maven-compiler-plugin - 3.7.0 + 3.8.1 - 1.8 - 1.8 - 1.8 - 1.8 + 11 + 11 + 11 + 11 true -Xlint:unchecked @@ -123,7 +123,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.0.1 + 3.1.0 attach-javadocs @@ -139,7 +139,7 @@ org.apache.maven.plugins maven-shade-plugin - 3.1.0 + 3.2.1