Repository: commons-csv
Updated Branches:
  refs/heads/master 27cdc5572 -> d20e5abaa


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

pom.xml: add java 9 profile and override jacoco version to make build pass


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

Branch: refs/heads/master
Commit: d20e5abaa3bd1718de4e5e8d1caf6b7dbdcfa021
Parents: 27cdc55
Author: Pascal Schumacher <pascalschumac...@gmx.net>
Authored: Mon Oct 2 12:02:32 2017 +0200
Committer: pascalschumacher <pascalschumac...@gmx.net>
Committed: Thu Oct 12 22:41:08 2017 +0200

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


http://git-wip-us.apache.org/repos/asf/commons-csv/blob/d20e5aba/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index a697e28..d842196 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,6 +22,7 @@ script:
 jdk:
   - openjdk7
   - oraclejdk8
+  - oraclejdk9
 
 after_success:
   - mvn -B -V -Ptravis-jacoco clean test jacoco:report coveralls:report

http://git-wip-us.apache.org/repos/asf/commons-csv/blob/d20e5aba/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 8011872..e3533e3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -152,6 +152,9 @@ CSV files of various types.
     <checkstyle.version>2.17</checkstyle.version>
     
<checkstyle.header.file>${basedir}/LICENSE-header.txt</checkstyle.header.file>
     <checkstyle.resourceExcludes>LICENSE.txt, 
NOTICE.txt</checkstyle.resourceExcludes>
+
+    <!-- Override jacoco version for java 9 compatibility -->
+    <commons.jacoco.version>0.7.9</commons.jacoco.version>
   </properties>
 
   <build>
@@ -512,6 +515,19 @@ CSV files of various types.
         </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>

Reply via email to