From: Lee, Tian (tl5884) Date: Thu, 3 Oct 2019 14:19:52 +0000 (+0100) Subject: Enforce minimum Jacoco line coverage X-Git-Tag: 1.6.4~3 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aai%2Frest-client.git;a=commitdiff_plain;h=9f2b50994a16d6ff41690ea29d08fefbc3ef8576 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) --- 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 @@ -