From 9f2b50994a16d6ff41690ea29d08fefbc3ef8576 Mon Sep 17 00:00:00 2001 From: "Lee, Tian (tl5884)" Date: Thu, 3 Oct 2019 15:19:52 +0100 Subject: [PATCH] Enforce minimum Jacoco line coverage Current coverage at 84%, enforced limit set to 80% Change-Id: I9b3f6152dfec5bb1af5615d286899dbbe1f6fa47 Issue-ID: AAI-2366 Signed-off-by: Lee, Tian (tl5884) --- pom.xml | 37 ++++++++----------------------------- 1 file changed, 8 insertions(+), 29 deletions(-) diff --git a/pom.xml b/pom.xml index 4c7a961..f3c8f48 100644 --- a/pom.xml +++ b/pom.xml @@ -35,14 +35,8 @@ google_checks.xml - - java - jacoco - ${project.build.directory}/surefire-reports - ${project.build.directory}/code-coverage/jacoco-ut.exec - false - ${project.version} - 0.84 + ${project.build.directory}/code-coverage + 0.80 @@ -152,40 +146,26 @@ - - org.apache.maven.plugins - maven-deploy-plugin - - org.codehaus.mojo - sonar-maven-plugin - 3.2 + org.apache.maven.plugins + maven-deploy-plugin org.jacoco jacoco-maven-plugin - 0.7.7.201606060606 - true + + org/onap/aai/babel/xml/generator/xsd/* + - - jacoco-initialize-unit-tests - - prepare-agent - - - ${project.build.directory}/coverage-reports/jacoco.exec - - - default-check check - ${project.build.directory}/code-coverage/jacoco-ut.exec + ${jacoco.report.directory}/jacoco-ut.exec @@ -203,7 +183,6 @@ - -- 2.16.6