From 6b34334fa325f710093eacb82196c591e6e4e5c9 Mon Sep 17 00:00:00 2001 From: jjia Date: Fri, 5 Apr 2019 14:51:26 -0400 Subject: Set Jacoco coverage limit Issue-ID: AAI-2247 Change-Id: Ib0c82e67dc1bf5b2a9304a5adeb8f705f8422256 Signed-off-by: jjia --- pom.xml | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index 95432b2..e2a448b 100644 --- a/pom.xml +++ b/pom.xml @@ -43,6 +43,7 @@ limitations under the License. false ${project.version} 2.22.1 + 0.71 @@ -234,16 +235,30 @@ limitations under the License. true + - jacoco-initialize-unit-tests - - prepare-agent - - - ${project.build.directory}/coverage-reports/jacoco.exec - - - + default-check + + check + + + ${sonar.jacoco.reportPath} + + + + BUNDLE + + + LINE + COVEREDRATIO + ${jacoco.line.coverage.limit} + + + + + + + -- cgit 1.2.3-korg