From 372e251380abf42627b72d939aba5e5e310bd31f Mon Sep 17 00:00:00 2001 From: Sai Gandham Date: Sun, 1 Apr 2018 16:42:58 -0500 Subject: Modify pom files & fix AAF sonar issues Modified Misc Pom files and testing SONAR Issue-ID: AAF-199 Change-Id: Ifea9566009936648314c08d52a2cc638c99c9e07 Signed-off-by: Sai Gandham --- misc/log4j/pom.xml | 103 ++++++++++++++++++++++++++++++++--------------------- 1 file changed, 63 insertions(+), 40 deletions(-) (limited to 'misc/log4j') diff --git a/misc/log4j/pom.xml b/misc/log4j/pom.xml index f8e60bdd..d6c4a7e5 100644 --- a/misc/log4j/pom.xml +++ b/misc/log4j/pom.xml @@ -70,15 +70,13 @@ - - 0.7.7.201606060606 - 3.2 - jacoco - - target/code-coverage/jacoco-ut.exec - target/code-coverage/jacoco-it.exec - - **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + 0.7.6.201602180812 + UTF-8 + UTF-8 + **/scripts/**/*,**.js + **/test/**/*,**/tests/**/* + true + https://nexus.onap.org /content/repositories/snapshots/ /content/repositories/releases/ @@ -123,57 +121,82 @@ ecomp-staging + + org.sonarsource.scanner.maven + sonar-maven-plugin + 3.2 + + org.jacoco jacoco-maven-plugin - 0.7.7.201606060606 - - true - - org.onap.aaf.* - - + + ${jacocoVersion} + pre-unit-test + none + + + post-unit-test + none + + + pre-integration-test + none + + + post-integration-test + none + + + + portal-prepare-agent prepare-agent - ${project.build.directory}/coverage-reports/jacoco.exec - + ${sonar.jacoco.reportPath} + - pre-integration-test - pre-integration-test + portal-offline-instrument - prepare-agent + instrument + + + + portal-restore-instrumented-classes + test + + restore-instrumented-classes + + + + portal-post-unit-test + test + + report - ${project.build.directory}/coverage-reports/jacoco-it.exec - + ${sonar.jacoco.reportPath} + ${project.basedir}/target/site/jacoco - - - merge - - post-integration-test - - - - ${project.build.directory}/coverage-reports - - *.exec - - - - ${project.build.directory}/jacoco-dev.exec - - + + + org.apache.maven.plugins + maven-surefire-plugin + + + ${project.build.directory}/code-coverage/jacoco-ut.exec + + + -- cgit 1.2.3-korg