pom.xml: add profile that allows build on java 9 .travis.yml: add oraclejdk9 build
Project: http://git-wip-us.apache.org/repos/asf/commons-io/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-io/commit/46fa7b52 Tree: http://git-wip-us.apache.org/repos/asf/commons-io/tree/46fa7b52 Diff: http://git-wip-us.apache.org/repos/asf/commons-io/diff/46fa7b52 Branch: refs/heads/master Commit: 46fa7b526721723e26c9c2d62a546b6f563af8cf Parents: c898e48 Author: pascalschumacher <pascalschumac...@gmx.net> Authored: Sun Oct 1 15:43:44 2017 +0200 Committer: pascalschumacher <pascalschumac...@gmx.net> Committed: Sun Oct 1 15:43:44 2017 +0200 ---------------------------------------------------------------------- .travis.yml | 1 + pom.xml | 12 ++++++++++++ 2 files changed, 13 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-io/blob/46fa7b52/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml index be7c71f..860ae28 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,7 @@ sudo: false jdk: - openjdk7 - oraclejdk8 + - oraclejdk9 script: - mvn http://git-wip-us.apache.org/repos/asf/commons-io/blob/46fa7b52/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 0c1db03..d7354d4 100644 --- a/pom.xml +++ b/pom.xml @@ -455,5 +455,17 @@ file comparators, endian transformation classes, and much more. </plugins> </build> </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> </project>