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/05/15 20:04:27 UTC
[2/3] [lang] Travis: Switch from Cobertura to Jacoco,
because Cobertura does not work on Java 9+. Cobertura-Maven-Plugin
fails on Java 10+ even if execution is skipped.
Travis: Switch from Cobertura to Jacoco, because Cobertura does not work on Java 9+. Cobertura-Maven-Plugin fails on Java 10+ even if execution is skipped.
Skip Jacoco on Java 11, because Jacoco does not support it yet (see: https://github.com/jacoco/jacoco/issues/663).
Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/6996686b
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/6996686b
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/6996686b
Branch: refs/heads/master
Commit: 6996686b6b41dd5d22947f9e5b1487547d247182
Parents: a7b06d6
Author: pascalschumacher <pa...@gmx.net>
Authored: Fri May 4 22:38:34 2018 +0200
Committer: pascalschumacher <pa...@gmx.net>
Committed: Tue May 15 22:03:20 2018 +0200
----------------------------------------------------------------------
.travis.yml | 2 +-
pom.xml | 11 +++++++++++
2 files changed, 12 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-lang/blob/6996686b/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 9bbf26f..05813b8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -42,4 +42,4 @@ script:
- mvn
after_success:
- - mvn clean cobertura:cobertura coveralls:report -Ptravis-cobertura
+ - mvn clean test jacoco:report coveralls:report -Ptravis-jacoco
http://git-wip-us.apache.org/repos/asf/commons-lang/blob/6996686b/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index ca1186c..12760db 100644
--- a/pom.xml
+++ b/pom.xml
@@ -840,6 +840,17 @@
</profile>
<profile>
+ <id>java11+</id>
+ <activation>
+ <jdk>[11,)</jdk>
+ </activation>
+ <properties>
+ <!-- jacoco does not work with java 11 yet, see https://github.com/jacoco/jacoco/issues/663 -->
+ <jacoco.skip>true</jacoco.skip>
+ </properties>
+ </profile>
+
+ <profile>
<id>benchmark</id>
<properties>
<skipTests>true</skipTests>