diff --git a/.travis.yml b/.travis.yml
index cbb5f1d7..6bf18e26 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,15 +5,12 @@ language: java
jdk:
- openjdk7
- oraclejdk8
-# - oraclejdk9
-# - oraclejdk10
-# - openjdk10
-# - openjdk11
-# - oraclejdk-ea
+ - oraclejdk9
+ - oraclejdk10
+ - openjdk10
before_install:
- export BUILD_COVERAGE="$([ $TRAVIS_JDK_VERSION == 'oraclejdk8' ] && echo 'true')"
-# - if [[ "$TRAVIS_JDK_VERSION" != 'openjdk7' && "$TRAVIS_JDK_VERSION" != 'oraclejdk8' ]]; then export MAVEN_OPTS='--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED'; fi;
install: true
diff --git a/api/src/main/java/io/jsonwebtoken/JwtBuilder.java b/api/src/main/java/io/jsonwebtoken/JwtBuilder.java
index bbf54d75..4724674e 100644
--- a/api/src/main/java/io/jsonwebtoken/JwtBuilder.java
+++ b/api/src/main/java/io/jsonwebtoken/JwtBuilder.java
@@ -19,9 +19,9 @@ import io.jsonwebtoken.io.Decoder;
import io.jsonwebtoken.io.Decoders;
import io.jsonwebtoken.io.Encoder;
import io.jsonwebtoken.io.Serializer;
+import io.jsonwebtoken.security.InvalidKeyException;
import io.jsonwebtoken.security.Keys;
-import java.security.InvalidKeyException;
import java.security.Key;
import java.util.Date;
import java.util.Map;
diff --git a/pom.xml b/pom.xml
index d364f053..f7ee2dd2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -95,15 +95,16 @@
1.60
- 2.4.15
+ 2.5.1
1.2.3
- 3.5
+ 3.6
4.12
2.0.0-beta.5
2.22.0
2.22.0
4.2.1
${jjwt.root}/target/clover/clover.db
+
@@ -166,7 +167,7 @@
org.codehaus.groovy
- groovy-all
+ groovy
${groovy.version}
test
@@ -301,16 +302,18 @@
org.codehaus.groovy
- groovy-all
+ groovy
${groovy.version}
-
org.apache.maven.plugins
maven-surefire-plugin
${surefire.plugin.version}
+
+ ${surefire.argLine}
+
org.apache.maven.plugins
@@ -452,6 +455,16 @@
-Xdoclint:none
+
+
+ jdk9AndLater
+
+ [1.9,)
+
+
+ --add-opens java.base/jdk.internal.loader=ALL-UNNAMED
+
+
sign