From a8698f03b33966eb9f953a4281c8344ae2c3de0e Mon Sep 17 00:00:00 2001 From: "Lee, Tian (tl5884)" Date: Thu, 3 Oct 2019 14:53:50 +0100 Subject: [PATCH] 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) --- pom.xml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) 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} + + + + + + + + -- 2.16.6