File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,16 @@ if echo $TRAVIS_JDK_VERSION | egrep -q '(jdk|jre)[67]($|[^0-9])'; then
1414 # The main library only uses jdk6 compatible dependencies,
1515 # but Guava 21.0 is compatibility with jdk 7.
1616 COMMON_FLAGS=" $COMMON_FLAGS -Dguava.version=20.0"
17-
17+ fi
18+ if echo $TRAVIS_JDK_VERSION | egrep -q ' (jdk|jre)9($|[^0-9])' ; then
19+ ;
20+ else
1821 # Older versions of javadoc barf on -Xdoclint flags used
1922 # to configure the maven-javadoc-plugin.
23+ # TODO: Newer versions barf on modules for some reason.
2024 COMMON_FLAGS=" $COMMON_FLAGS -Dmaven.javadoc.skip=true"
2125fi
2226
23-
2427echo " *** TRAVIS_JDK_VERSION=$TRAVIS_JDK_VERSION COMMON_FLAGS=($COMMON_FLAGS ) IS_LEGACY=$IS_LEGACY "
2528
2629mvn install -DskipTests=true $COMMON_FLAGS
You can’t perform that action at this time.
0 commit comments