From: Pamela Dragosh Date: Mon, 20 Jan 2020 12:55:10 +0000 (-0500) Subject: First update sonar X-Git-Tag: 1.6.0~16 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=policy%2Fengine.git;a=commitdiff_plain;h=40483cec64275e908c498309503cb17fbbd81c7a First update sonar This is still pointing to old oparent, so only making the minor change. Note, I could not test this locally because the JUnits fail. Once Ali's review is merged I will make the final cleanup. Issue-ID: POLICY-2321 Change-Id: Idcd7633fc2fdbeaede8b24aab5dcd5437632da2f Signed-off-by: Pamela Dragosh --- diff --git a/packages/pom.xml b/packages/pom.xml index f151c90e5..e5bc814cf 100644 --- a/packages/pom.xml +++ b/packages/pom.xml @@ -2,7 +2,7 @@ ============LICENSE_START======================================================= ONAP Policy Engine ================================================================================ - Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. + Copyright (C) 2017-2018, 2020 AT&T Intellectual Property. All rights reserved. Modifications Copyright (C) 2019 Bell Canada. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); @@ -31,6 +31,12 @@ pom Policy Packages D2 ONAP Policy Installation Packages + + + + true + + diff --git a/pom.xml b/pom.xml index 893a2fcce..895e6affb 100644 --- a/pom.xml +++ b/pom.xml @@ -46,12 +46,8 @@ content/repositories/snapshots/ content/repositories/staging/ - - - ${project.basedir}/../target/code-coverage/jacoco-ut.exec - ${project.basedir}/../target/code-coverage/jacoco-it.exec - reuseReports + + ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml 4.3.24.RELEASE @@ -174,32 +170,6 @@ - - org.jacoco - jacoco-maven-plugin - - - pre-unit-test - - prepare-agent - - - ${sonar.jacoco.reportPath} - true - - - - post-unit-test - test - - report - - - ${sonar.jacoco.reportPath} - - - - org.apache.maven.plugins maven-deploy-plugin @@ -268,46 +238,6 @@ - - org.jacoco - jacoco-maven-plugin - ${jacoco.version} - - - - **/gen/** - **/generated-sources/** - **/yang-gen/** - **/pax/** - - - - - - pre-unit-test - - prepare-agent - - - ${sonar.jacoco.reportPath} - - - - - post-unit-test - test - - report - - - ${sonar.jacoco.reportPath} - - - - org.eclipse.m2e lifecycle-mapping