You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by pa...@apache.org on 2017/10/12 08:04:30 UTC

commons-collections git commit: travis: add java 9 to build (closes #27)

Repository: commons-collections
Updated Branches:
  refs/heads/master b15deac11 -> 87417154f


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

pom.xml: add java 9 profile to make build pass


Project: http://git-wip-us.apache.org/repos/asf/commons-collections/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-collections/commit/87417154
Tree: http://git-wip-us.apache.org/repos/asf/commons-collections/tree/87417154
Diff: http://git-wip-us.apache.org/repos/asf/commons-collections/diff/87417154

Branch: refs/heads/master
Commit: 87417154f28ae944243ae2bdb9d9ce0d31f5c892
Parents: b15deac
Author: Pascal Schumacher <pa...@gmx.net>
Authored: Mon Oct 2 11:46:34 2017 +0200
Committer: pascalschumacher <pa...@gmx.net>
Committed: Thu Oct 12 10:04:05 2017 +0200

----------------------------------------------------------------------
 .travis.yml |  1 +
 pom.xml     | 12 ++++++++++++
 2 files changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-collections/blob/87417154/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 539b202..b984f67 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-collections/blob/87417154/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 1700933..0ff6393 100644
--- a/pom.xml
+++ b/pom.xml
@@ -720,6 +720,18 @@
         </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>