[java-metadata-aggregator] 01/03: Disable JoCoCo under Java 15 and later

Ian Young ian at iay.org.uk
Thu Aug 27 13:29:28 UTC 2020


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

iay pushed a commit to branch main
in repository java-metadata-aggregator.

View the commit online:
http://git.shibboleth.net/view/?p=java-metadata-aggregator.git;a=commit;h=44ed8a231b32e38f8a56da39f716a2894600049d

commit 44ed8a231b32e38f8a56da39f716a2894600049d
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Thu Aug 27 09:27:18 2020 +0100

    Disable JoCoCo under Java 15 and later
    
    JaCoCo 0.8.5 does not support Java 15 or later bytecode.
    JaCoCo 0.8.6 will have experimental support.
---
 aggregator-pipeline/pom.xml | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/aggregator-pipeline/pom.xml b/aggregator-pipeline/pom.xml
index cbb9bd3..cb3a4d1 100644
--- a/aggregator-pipeline/pom.xml
+++ b/aggregator-pipeline/pom.xml
@@ -224,6 +224,31 @@
         </plugins>
     </reporting>
 
+    <profiles>
+
+        <!--
+            Disable JaCoCo under unsupported versions of Java.
+        -->
+        <profile>
+            <id>nojacoco</id>
+            <activation>
+                <jdk>[15,</jdk>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.jacoco</groupId>
+                        <artifactId>jacoco-maven-plugin</artifactId>
+                        <configuration>
+                            <skip>true</skip>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+
+    </profiles>
+
     <distributionManagement>
         <site>
             <id>site</id>

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


More information about the commits mailing list