From dfcef4fc47cda155d2cfa5cce6e9a31a0f383c66 Mon Sep 17 00:00:00 2001 From: Volker Schmidt Date: Tue, 19 Mar 2019 12:24:32 +0100 Subject: [PATCH] Added coverage to Maven build. --- app/pom.xml | 4 ++ common/pom.xml | 6 ++- dhis/pom.xml | 4 ++ fhir-dstu3/pom.xml | 11 ++++- fhir-r4/pom.xml | 9 ++++ fhir/pom.xml | 6 ++- pom.xml | 35 ++++++++++++++- summary/pom.xml | 105 +++++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 176 insertions(+), 4 deletions(-) create mode 100644 summary/pom.xml diff --git a/app/pom.xml b/app/pom.xml index 686c577e..25c28514 100644 --- a/app/pom.xml +++ b/app/pom.xml @@ -134,6 +134,10 @@ + + org.jacoco + jacoco-maven-plugin + diff --git a/common/pom.xml b/common/pom.xml index 4997ce54..474357b1 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -1,6 +1,6 @@ - -Duser.timezone=CET + -Duser.timezone=CET ${surefireArgLine} false + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + ${skipCoverage} + + + + prepare-unit + + prepare-agent + + + org/dhis2/fhir/adapter/** + surefireArgLine + + + + report + prepare-package + + report + + + org/dhis2/fhir/adapter/** + + + + diff --git a/summary/pom.xml b/summary/pom.xml new file mode 100644 index 00000000..7c4f3391 --- /dev/null +++ b/summary/pom.xml @@ -0,0 +1,105 @@ + + + + + 4.0.0 + + dhis2-fhir-adapter-summary + jar + + + org.dhis2.fhir.adapter + dhis2-fhir-adapter + 1.1.0-SNAPSHOT + .. + + + dhis2-fhir-adapter-summary + + The summary of building the project. + + + + + org.dhis2.fhir.adapter + dhis2-fhir-adapter-common + ${project.version} + compile + + + org.dhis2.fhir.adapter + dhis2-fhir-adapter-dhis + ${project.version} + compile + + + org.dhis2.fhir.adapter + dhis2-fhir-adapter-fhir + ${project.version} + compile + + + org.dhis2.fhir.adapter + dhis2-fhir-adapter-fhir-dstu3 + ${project.version} + compile + + + org.dhis2.fhir.adapter + dhis2-fhir-adapter-fhir-r4 + ${project.version} + compile + + + org.dhis2.fhir.adapter + dhis2-fhir-adapter-app + ${project.version} + war + compile + + + + + + + org.jacoco + jacoco-maven-plugin + + + report + verify + + report-aggregate + + + + + + +