[java-parent-project] branch maint-11 updated: Disable JaCoCo under unsupported versions of Java

Ian Young ian at iay.org.uk
Tue Oct 18 16:48:48 UTC 2022


This is an automated email from the git hooks/post-receive script.

iay pushed a commit to branch maint-11
in repository java-parent-project.

View the commit online:
http://git.shibboleth.net/view/?p=java-parent-project.git;a=commit;h=5b23b96eb382ed01b9496e42e7a7ae2117bbb774

The following commit(s) were added to refs/heads/maint-11 by this push:
     new 5b23b96  Disable JaCoCo under unsupported versions of Java
5b23b96 is described below

commit 5b23b96eb382ed01b9496e42e7a7ae2117bbb774
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Tue Oct 18 17:47:38 2022 +0100

    Disable JaCoCo under unsupported versions of Java
---
 pom.xml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/pom.xml b/pom.xml
index 151b442..e022643 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1265,6 +1265,28 @@
                 </plugins>
             </build>
         </profile>
+
+        <!--
+            Disable JaCoCo under unsupported versions of Java.
+        -->
+        <profile>
+            <id>nojacoco</id>
+            <activation>
+                <jdk>[19,</jdk>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.jacoco</groupId>
+                        <artifactId>jacoco-maven-plugin</artifactId>
+                        <configuration>
+                            <skip>true</skip>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+
     </profiles>
 
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list