diff --git a/.travis.yml b/.travis.yml index 08ced47c..9cb01c74 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 c7a744f7..230a52cb 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} @@ -429,12 +429,12 @@ [9,) - - --add-opens java.base/java.net=ALL-UNNAMED - --add-opens java.base/java.security=ALL-UNNAMED - --add-exports java.base/sun.net.www.protocol.http=ALL-UNNAMED - --add-exports java.base/sun.net.www.protocol.https=ALL-UNNAMED - + true java9