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 2018/02/04 12:41:40 UTC

commons-fileupload git commit: travis: also build with java 9

Repository: commons-fileupload
Updated Branches:
  refs/heads/master 0a00b74df -> 848007985


travis: also build with java 9


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

Branch: refs/heads/master
Commit: 8480079852fe491b09e10e6982439b7d1e60c566
Parents: 0a00b74
Author: Pascal Schumacher <pa...@gmx.net>
Authored: Sun Feb 4 13:41:32 2018 +0100
Committer: Pascal Schumacher <pa...@gmx.net>
Committed: Sun Feb 4 13:41:32 2018 +0100

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


http://git-wip-us.apache.org/repos/asf/commons-fileupload/blob/84800798/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index c1335bd..8893f59 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,6 +19,7 @@ sudo: false
 jdk:
   - openjdk7
   - oraclejdk8
+  - oraclejdk9
 
 after_success:
   - mvn clean cobertura:cobertura coveralls:report

http://git-wip-us.apache.org/repos/asf/commons-fileupload/blob/84800798/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 867f9e8..ee13cd8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -483,5 +483,15 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>java9</id>
+      <activation>
+        <jdk>9</jdk>
+      </activation>
+      <properties>
+        <!-- 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>