From: Michael Arrastia Date: Fri, 29 Mar 2019 14:09:14 +0000 (+0000) Subject: Configure Jacoco plugin to enforce min coverage X-Git-Tag: 1.4.0~3^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=178e838b632cf90fd3e8ec4406aba33d23a6f199;p=aai%2Fspike.git Configure Jacoco plugin to enforce min coverage Jacoco plugin is configured to set the minimum line coverage ratios to equal that of the current coverage level, to prevent future updates from decreasing the coverage level. Change-Id: Iff78f455bf9610bcf3e8611490a51794287dce67 Issue-ID: AAI-2302 Signed-off-by: Michael Arrastia --- diff --git a/.gitignore b/.gitignore index 08a78dd..0631527 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ # Application logs/ +debug-logs/ # Maven target/ @@ -17,4 +18,4 @@ target/ # Misc .checkstyle .springBeans -.vscode \ No newline at end of file +.vscode diff --git a/pom.xml b/pom.xml index 424f8e1..38b34ea 100644 --- a/pom.xml +++ b/pom.xml @@ -39,6 +39,10 @@ 1.4.0-SNAPSHOT 1.0.0 1.4.1 + + 0.55 + ${project.build.directory}/code-coverage @@ -283,17 +287,26 @@ jacoco-maven-plugin - prepare-agent + default-check - prepare-agent - - - - report - package - - report + check + + ${jacoco.report.directory}/jacoco-ut.exec + + + + BUNDLE + + + LINE + COVEREDRATIO + ${jacoco.line.coverage.limit} + + + + +