You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2018/02/16 07:51:19 UTC

maven-surefire git commit: add a jdk10 profile to not run jacoco as it does not work yet for jdk10

Repository: maven-surefire
Updated Branches:
  refs/heads/master ee1cc441b -> 4ec99792c


add a jdk10 profile to not run jacoco as it does not work yet for jdk10

Signed-off-by: olivier lamy <ol...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/4ec99792
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/4ec99792
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/4ec99792

Branch: refs/heads/master
Commit: 4ec99792c93efd3b2a6d3b8dcb2589fe6d37973f
Parents: ee1cc44
Author: olivier lamy <ol...@apache.org>
Authored: Fri Feb 16 17:50:52 2018 +1000
Committer: olivier lamy <ol...@apache.org>
Committed: Fri Feb 16 17:50:52 2018 +1000

----------------------------------------------------------------------
 pom.xml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/4ec99792/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 9cf5b44..183970a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -711,5 +711,25 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>jdk10</id>
+      <activation>
+        <jdk>10</jdk>
+      </activation>
+      <build>
+        <pluginManagement>
+          <plugins>
+            <!-- remove when jacoco will support jdk10  https://github.com/jacoco/jacoco/issues/629 -->
+            <plugin>
+              <groupId>org.jacoco</groupId>
+              <artifactId>jacoco-maven-plugin</artifactId>
+              <configuration>
+                <skip>true</skip>
+              </configuration>
+            </plugin>
+          </plugins>
+        </pluginManagement>
+      </build>
+    </profile>
   </profiles>
 </project>