commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pascalschumac...@apache.org
Subject [text] add oraclejdk9 to travis configuration (closes #59)
Date Fri, 28 Jul 2017 17:53:54 GMT
Repository: commons-text
Updated Branches:
  refs/heads/master 6773be0a3 -> 986787042


add oraclejdk9 to travis configuration (closes #59)

add 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-text/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/98678704
Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/98678704
Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/98678704

Branch: refs/heads/master
Commit: 9867870425ce1b09e0b0fcf2abe12783cf8f20dc
Parents: 6773be0
Author: Pascal Schumacher <pascalschumacher@gmx.net>
Authored: Fri Jul 28 19:43:44 2017 +0200
Committer: Pascal Schumacher <pascalschumacher@gmx.net>
Committed: Fri Jul 28 19:53:21 2017 +0200

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


http://git-wip-us.apache.org/repos/asf/commons-text/blob/98678704/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index d3097c0..1ae18a6 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-text/blob/98678704/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 0ce1864..366f160 100644
--- a/pom.xml
+++ b/pom.xml
@@ -450,5 +450,17 @@
         </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>


Mime
View raw message