From 6ca9c8f019b8f6ff8d7425b298029ad31526fe0a Mon Sep 17 00:00:00 2001 From: Tobias Schneider Date: Fri, 12 Jan 2024 14:35:29 +0100 Subject: [PATCH] Fix sonar coverage --- jollyday-tests/pom.xml | 14 ---------- pom.xml | 23 +++++++++++++++-- report-aggregate/pom.xml | 55 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 76 insertions(+), 16 deletions(-) create mode 100644 report-aggregate/pom.xml diff --git a/jollyday-tests/pom.xml b/jollyday-tests/pom.xml index cd40846ba..5379775b4 100644 --- a/jollyday-tests/pom.xml +++ b/jollyday-tests/pom.xml @@ -93,20 +93,6 @@ true - - - org.jacoco - jacoco-maven-plugin - - - report - - report-aggregate - - verify - - - diff --git a/pom.xml b/pom.xml index a1eb40b3e..2c247f889 100644 --- a/pom.xml +++ b/pom.xml @@ -44,9 +44,8 @@ 1.9.2 1.37 - - ${maven.multiModuleProjectDirectory}/jollyday-tests/target/site/jacoco-aggregate/jacoco.xml + ${maven.multiModuleProjectDirectory}/report-aggregate/target/site/jacoco-aggregate/jacoco.xml ${java.version} @@ -190,6 +189,14 @@ org.jacoco jacoco-maven-plugin 0.8.12 + + + prepare-agent + + prepare-agent + + + @@ -305,6 +312,17 @@ prepare-agent + + report + + report + + + + XML + + + @@ -372,6 +390,7 @@ jollyday-tests + report-aggregate diff --git a/report-aggregate/pom.xml b/report-aggregate/pom.xml new file mode 100644 index 000000000..4ae6fca8d --- /dev/null +++ b/report-aggregate/pom.xml @@ -0,0 +1,55 @@ + + + 4.0.0 + pom + + report-aggregate + Aggregate Coverage Report + + Aggregate Coverage Report + + + de.focus-shift + jollyday + 1.1.0-SNAPSHOT + ../pom.xml + + + + + de.focus-shift + jollyday-core + ${project.version} + + + de.focus-shift + jollyday-jackson + ${project.version} + + + de.focus-shift + jollyday-jaxb + ${project.version} + + + + + + + org.jacoco + jacoco-maven-plugin + + + report-aggregate + verify + + report-aggregate + + + + + + +