Skip to content

Commit

Permalink
.travis.yml: add oraclejdk9
Browse files Browse the repository at this point in the history
mavenv java9 profile:
- use maven-javadoc-plugin version 3.0.0-M1, because versions below 3.0.0 do not work on java 9
- skip maven-coveralls-plugin, because version 4.3.0 does not work on  java 9, see trautonen/coveralls-maven-plugin#112
  • Loading branch information
PascalSchumacher committed Jul 28, 2017
1 parent daeed97 commit 2055a7d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@

language: java
sudo: false
# trusty is required for oraclejdk9
dist: trusty

jdk:
- openjdk7
- oraclejdk8
- oraclejdk9

script:
- mvn
Expand Down
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,10 @@
<properties>
<!-- LANG-1265: allow tests to access private fields/methods of java.base classes via reflection -->
<argLine>-Xmx512m --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
<!-- versions below 3.0.0 do not work with java 9 -->
<commons.javadoc.version>3.0.0-M1</commons.javadoc.version>
<!-- coverall version 4.3.0 does not work with java 9, see https://github.com/trautonen/coveralls-maven-plugin/issues/112 -->
<coveralls.skip>true</coveralls.skip>
</properties>
</profile>

Expand Down

0 comments on commit 2055a7d

Please sign in to comment.