os:
  - linux
language: java
jdk:
  - oraclejdk8
cache:
  directories:
    - $HOME/.m2
script:
  - mvn -nsu -B -Dmaven.javadoc.skip=true clean install

os:
  - linux
language: java
jdk:
  - openjdk11
cache:
  directories:
    - $HOME/.m2
script:
  - mvn -nsu -B -Dmaven.javadoc.skip=true clean install

Use openjdk11 on Travis CI
Use openjdk11 on Travis CI
