From e44ff212d76aeb5bf0ac6ca063b9f32e1d36756b Mon Sep 17 00:00:00 2001 From: "maxime.dezette" Date: Sat, 6 May 2023 13:46:20 +0200 Subject: [PATCH] build: Adding Jacoco :wrench: --- pom.xml | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 64 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d844792..986a452 100644 --- a/pom.xml +++ b/pom.xml @@ -1,5 +1,5 @@ - 4.0.0 @@ -16,6 +16,7 @@ Demo project for Apero Tech 17 + 0.8.9 @@ -146,6 +147,68 @@ + + org.jacoco + jacoco-maven-plugin + ${jacoco-maven-plugin.version} + + + pre-unit-tests + + prepare-agent + + + + post-unit-test + test + + report + + + + pre-integration-tests + + prepare-agent-integration + + + + post-integration-tests + post-integration-test + + report-integration + + + + merge + verify + + merge + + + + + ${project.basedir} + + **/*.exec + + + + target/jacoco/allTest.exec + + + + post-merge-report + verify + + report + + + target/jacoco/allTest.exec + target/jacoco/ + + + +