From f33ea6d31e3414c4eab1d4202f3625a64164e1ef Mon Sep 17 00:00:00 2001 From: sg481n Date: Sun, 1 Oct 2017 17:28:44 +0000 Subject: Improve code coverage for aaf authz modules Issue-ID: AAF-79 Change-Id: Ic73807fb4dace28b5c87f81f02e10b438e0c7692 Signed-off-by: sg481n --- authz-cmd/pom.xml | 138 ++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 87 insertions(+), 51 deletions(-) (limited to 'authz-cmd') diff --git a/authz-cmd/pom.xml b/authz-cmd/pom.xml index 23066374..166c5495 100644 --- a/authz-cmd/pom.xml +++ b/authz-cmd/pom.xml @@ -60,7 +60,7 @@ ${project.build.directory}/surefire-reports ${project.build.directory}/coverage-reports/jacoco.exec ${project.build.directory}/coverage-reports/jacoco-it.exec - true + false ${project.version} https://nexus.onap.org /content/repositories/snapshots/ @@ -167,56 +167,92 @@ - org.jacoco - jacoco-maven-plugin - 0.7.7.201606060606 - - true - - org.onap.aaf.* - - - - - pre-unit-test - - prepare-agent - - - ${project.build.directory}/coverage-reports/jacoco.exec - - - - - pre-integration-test - pre-integration-test - - prepare-agent - - - ${project.build.directory}/coverage-reports/jacoco-it.exec - - - - - - merge - - post-integration-test - - - - ${project.build.directory}/coverage-reports - - *.exec - - - - ${project.build.directory}/jacoco-dev.exec - - - - + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + + + **/gen/** + **/generated-sources/** + **/yang-gen/** + **/pax/** + + + + + + pre-unit-test + + prepare-agent + + + + ${project.build.directory}/code-coverage/jacoco-ut.exec + + surefireArgLine + + + + + post-unit-test + test + + report + + + + ${project.build.directory}/code-coverage/jacoco-ut.exec + + ${project.reporting.outputDirectory}/jacoco-ut + + + + pre-integration-test + pre-integration-test + + prepare-agent + + + + ${project.build.directory}/code-coverage/jacoco-it.exec + + failsafeArgLine + + + + + post-integration-test + post-integration-test + + report + + + + ${project.build.directory}/code-coverage/jacoco-it.exec + + ${project.reporting.outputDirectory}/jacoco-it + + + + + -- cgit 1.2.3-korg