From 930f7cd99d647d8dd2e44e910bac4b98c1952559 Mon Sep 17 00:00:00 2001 From: Konrad Windszus Date: Sat, 21 Dec 2024 16:16:55 +0100 Subject: [PATCH] Manage jacoco-maven-plugin Add dedicated profile "coverage" to generate separate reports for both UTs and ITs. This closes #283 --- pom.xml | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/pom.xml b/pom.xml index 490f2bd5..3dd2fcbb 100644 --- a/pom.xml +++ b/pom.xml @@ -101,6 +101,8 @@ under the License. 8 3.5.2 posix + false + false 2024-07-04T18:52:57Z @@ -135,6 +137,7 @@ under the License. 3.3.1 ${surefire.version} 3.4.0 + 0.8.12 @@ -346,6 +349,44 @@ under the License. apache-rat-plugin ${version.apache-rat-plugin} + + org.jacoco + jacoco-maven-plugin + ${version.jacoco-maven-plugin} + + + + default-prepare-agent + + prepare-agent + + + ${jacoco.append.ut.file} + + + + default-prepare-agent-integration + + prepare-agent-integration + + + ${jacoco.append.it.file} + + + + default-report + + report + + + + default-report-integration + + report-integration + + + + @@ -517,6 +558,17 @@ under the License. + + coverage + + + + org.jacoco + jacoco-maven-plugin + + + + jdk9+