From 3102584a548afbf052c2c1dc6b36c97128af56e8 Mon Sep 17 00:00:00 2001 From: Brett Wooldridge Date: Wed, 24 May 2017 01:42:08 +0900 Subject: [PATCH] Java 9ea fix? --- .travis.yml | 11 +++++------ pom.xml | 4 ++-- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 08ced47c8..9cb01c741 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,11 @@ sudo: false language: java +dist: + - trusty + before_script: - - if [[ "x$JDK" == *'x9'* ]]; then remove_dir_from_path $JAVA_HOME/bin; export JAVA_HOME=/usr/lib/jvm/java-9-oracle; export PATH=$JAVA_HOME/bin:$PATH; java -Xmx32m -version; fi + - if [[ "x$JDK" == *'x9'* ]]; then export MAVEN_SKIP_RC=true; fi - if [[ "x$JDK" != *'x9'* ]]; then export COVERALLS=coveralls:report; fi script: @@ -22,11 +25,7 @@ matrix: fast_finish: true include: - jdk: oraclejdk8 - - jdk: oraclejdk8 # this will be overridden by before_script above - addons: - apt: - packages: - - oracle-java9-installer + - jdk: oraclejdk9 env: - JDK=9 diff --git a/pom.xml b/pom.xml index c7a744f78..b43387854 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ 3.3.0 5.6.2 5.2.9.Final - 3.21.0-GA + 3.22.0-CR1 0.11.4.1 2.5.3 3.2.2 @@ -369,7 +369,7 @@ org.apache.maven.plugins maven-surefire-plugin - 2.19.1 + 2.20 ${surefireArgLine} ${sureFireOptions9}