travis: add java 9 to build (closes #27)

pom.xml: add java 9 profile to make build pass
This commit is contained in:
Pascal Schumacher 2017-10-02 11:46:34 +02:00 committed by pascalschumacher
parent b15deac11a
commit 87417154f2
2 changed files with 13 additions and 0 deletions

View File

@ -19,6 +19,7 @@ sudo: false
jdk: jdk:
- openjdk7 - openjdk7
- oraclejdk8 - oraclejdk8
- oraclejdk9
script: script:
- mvn - mvn

12
pom.xml
View File

@ -720,6 +720,18 @@
</plugins> </plugins>
</build> </build>
</profile> </profile>
<profile>
<id>java9</id>
<activation>
<jdk>9</jdk>
</activation>
<properties>
<!-- 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>
</profiles> </profiles>
</project> </project>