From b826b444024b48423d91f1ce4338d9a79b29031c Mon Sep 17 00:00:00 2001 From: sg481n Date: Fri, 8 Sep 2017 12:26:03 -0400 Subject: Add plugins for test coverage report Addming sonar and jacoco plugins for the test coverage for inno aaf module. Issue-id: AAF-32 Change-Id: Ic400059ed3a6fa5763b5479de04b68ef057a8a43 Signed-off-by: sg481n --- log4j/pom.xml | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) (limited to 'log4j') diff --git a/log4j/pom.xml b/log4j/pom.xml index 8053a2a..2ed9bf6 100644 --- a/log4j/pom.xml +++ b/log4j/pom.xml @@ -53,6 +53,13 @@ UTF-8 1.0.0-SNAPSHOT + java + jacoco + ${project.build.directory}/surefire-reports + ${project.build.directory}/coverage-reports/jacoco.exec + ${project.build.directory}/coverage-reports/jacoco-it.exec + true + ${project.version} https://nexus.onap.org /content/repositories/snapshots/ /content/repositories/releases/ @@ -108,7 +115,59 @@ ${nexusproxy} 176c31dfe190a ecomp-staging + ${skip.staging.artifacts} + + + 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 + + + -- cgit 1.2.3-korg