From 666f9540845e109996a84671725d29c9b5459487 Mon Sep 17 00:00:00 2001 From: Konrad Windszus Date: Mon, 21 Jul 2025 12:17:58 +0200 Subject: [PATCH] JCR-5173 Create aggregated coverage report JCR-5172 Exclude jackrabbit-jcr-tests from coverage calculation --- jackrabbit-parent/pom.xml | 33 +++++++++++++++++++++++++++++++++ pom.xml | 17 +++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/jackrabbit-parent/pom.xml b/jackrabbit-parent/pom.xml index 5173333c52b..9912adeaf48 100644 --- a/jackrabbit-parent/pom.xml +++ b/jackrabbit-parent/pom.xml @@ -185,6 +185,39 @@ false + + + + + + io.github.olamy.maven.plugins + jacoco-aggregator-maven-plugin + 1.0.3 + + + + org/apache/jackrabbit/** + + + + org/apache/jackrabbit/test/** + + + + + aggregate + verify + + report-aggregate-all + + + + + + + diff --git a/pom.xml b/pom.xml index b5264e64f87..375583509cf 100644 --- a/pom.xml +++ b/pom.xml @@ -35,6 +35,11 @@ Apache Jackrabbit pom + + + ${project.basedir}/target/site/jacoco-aggregate/jacoco.xml + + jackrabbit-parent jackrabbit-jcr-commons @@ -87,6 +92,18 @@ + + coverage + + + + io.github.olamy.maven.plugins + jacoco-aggregator-maven-plugin + false + + + + apache-release