Add fixed sugegsted by travis docs for certs with java 11
@@ -19,11 +19,14 @@ matrix:
install: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dchecksyle.skip=true -Dspotbugs.skip=true -Djacoco.skip=true -B
script: mvn install -pl \!tests/acceptance-test -P reduce-logging || travis_terminate 1
#Default
-# - if: type = pull_request
-# name: "Acceptance Tests Java 11"
-# jdk: oraclejdk11
-# script: mvn verify -pl tests/acceptance-test -P reduce-logging || travis_terminate 1
-# install: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dchecksyle.skip=true -Dspotbugs.skip=true -Djacoco.skip=true -B
+ - if: type = pull_request
+ name: "Acceptance Tests Java 11"
+ jdk: oraclejdk11
+ script: mvn verify -pl tests/acceptance-test -P reduce-logging || travis_terminate 1
+ before_install:
+ - rm "${JAVA_HOME}/lib/security/cacerts"
+ - ln -s /etc/ssl/certs/java/cacerts "${JAVA_HOME}/lib/security/cacerts"
+ install: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dchecksyle.skip=true -Dspotbugs.skip=true -Djacoco.skip=true -B
- if: type = pull_request
name: "Acceptance Tests Java 8"
jdk: oraclejdk8
