From: Lee, Tian (tl5884) Date: Thu, 3 Oct 2019 13:53:50 +0000 (+0100) Subject: Enforce minimum Jacoco line coverage X-Git-Tag: 1.6.1~6 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aai%2Fmodel-loader.git;a=commitdiff_plain;h=a8698f03b33966eb9f953a4281c8344ae2c3de0e Enforce minimum Jacoco line coverage Current coverage at 87%, enforced limit set to 80% Change-Id: I0f167433e21ad444ac01987a167c1964f8c88ab8 Issue-ID: AAI-2364 Signed-off-by: Lee, Tian (tl5884) --- diff --git a/pom.xml b/pom.xml index 8dc1cd1..2ecb68d 100644 --- a/pom.xml +++ b/pom.xml @@ -68,6 +68,9 @@ 1.6.0 yyyyMMdd'T'HHmmss'Z' + + ${project.build.directory}/code-coverage + 0.80 @@ -421,6 +424,34 @@ + + org.jacoco + jacoco-maven-plugin + + + default-check + + check + + + ${jacoco.report.directory}/jacoco-ut.exec + + + + BUNDLE + + + LINE + COVEREDRATIO + ${jacoco.line.coverage.limit} + + + + + + + +