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

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


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

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

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

The following commit(s) were added to refs/heads/main by this push:
     new b7de8c5  Disable JaCoCo under unsupported versions of Java
b7de8c5 is described below

commit b7de8c502917e265bf10c2a4c8795d66510745c0
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 0884634..582e79f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1245,6 +1245,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