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/pom.xml | 109 +++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 64 insertions(+), 45 deletions(-) (limited to 'misc/pom.xml') diff --git a/misc/pom.xml b/misc/pom.xml index c1a4a6d2..ff5b49e7 100644 --- a/misc/pom.xml +++ b/misc/pom.xml @@ -28,24 +28,18 @@ 1.3.0-SNAPSHOT pom - - org.onap.oparent - oparent - 1.1.0 - + + 0.7.6.201602180812 + UTF-8 + UTF-8 + **/scripts/**/*,**.js + **/test/**/*,**/tests/**/* + true + UTF-8 1.5.1 - - 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/** https://nexus.onap.org /content/repositories/snapshots/ /content/repositories/releases/ @@ -153,57 +147,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