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/07/28 17:32:57 UTC

[lang] add oraclejdk9 to travis configuration (closes #280)

Repository: commons-lang
Updated Branches:
  refs/heads/master daeed9720 -> 05d951803


add oraclejdk9 to travis configuration (closes #280)

maven 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 https://github.com/trautonen/coveralls-maven-plugin/issues/112


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

Branch: refs/heads/master
Commit: 05d9518038ae8d2ac9f11b91b731f47b909a9bad
Parents: daeed97
Author: pascalschumacher <pa...@gmx.net>
Authored: Thu May 25 21:43:20 2017 +0200
Committer: pascalschumacher <pa...@gmx.net>
Committed: Fri Jul 28 19:31:18 2017 +0200

----------------------------------------------------------------------
 .travis.yml | 3 +++
 pom.xml     | 4 ++++
 2 files changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/05d95180/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index be7c71f..eea1fdc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,10 +15,13 @@
 
 language: java
 sudo: false
+# trusty is required for oraclejdk9
+dist: trusty
 
 jdk:
   - openjdk7
   - oraclejdk8
+  - oraclejdk9
 
 script:
   - mvn

http://git-wip-us.apache.org/repos/asf/commons-lang/blob/05d95180/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index d2d5a41..be88716 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>