From: Pamela Dragosh Date: Mon, 20 Jan 2020 13:00:43 +0000 (-0500) Subject: Update sonar config X-Git-Tag: 2.3.0~12^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=bc03dc1edf6016cf6d6dafdb531c27ccd0dfb348;p=policy%2Fdistribution.git Update sonar config First update for sonar config, once this is updated to JDK11 I will cleanup. This reports just under 80% for the moment. Issue-ID: POLICY-2321 Change-Id: I1b3338c53e152ad663ba513bbd15226052142587 Signed-off-by: Pamela Dragosh --- diff --git a/packages/pom.xml b/packages/pom.xml index 6760eab3..6135313a 100644 --- a/packages/pom.xml +++ b/packages/pom.xml @@ -1,6 +1,7 @@ + true + diff --git a/pom.xml b/pom.xml index 9e1a9307..9b4d8051 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ ============LICENSE_START======================================================= ONAP Policy SDC Service Distribution ================================================================================ - Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. + Copyright (C) 2018, 2020 AT&T Intellectual Property. All rights reserved. Copyright (C) 2019 Nordix Foundation. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); @@ -40,12 +40,8 @@ Code that implements our integration with SDC service distribution API. - - - ${project.basedir}/../target/code-coverage/jacoco-ut.exec - ${project.basedir}/../target/code-coverage/jacoco-it.exec - reuseReports + + ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml 1.6.1 1.6.0-SNAPSHOT @@ -91,32 +87,6 @@ - - org.jacoco - jacoco-maven-plugin - - - pre-unit-test - - prepare-agent - - - ${sonar.jacoco.reportPath} - true - - - - post-unit-test - test - - report - - - ${sonar.jacoco.reportPath} - - - - maven-checkstyle-plugin @@ -154,49 +124,5 @@ - - - - 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} - - - - - - diff --git a/testsuites/pom.xml b/testsuites/pom.xml index 9b0eba2a..4d11dc1a 100644 --- a/testsuites/pom.xml +++ b/testsuites/pom.xml @@ -2,7 +2,7 @@ ============LICENSE_START======================================================= ONAP Policy Distribution ================================================================================ - Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. + Copyright (C) 2019-2020 AT&T Intellectual Property. All rights reserved. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -26,8 +26,14 @@ testsuites pom + + + + true + + stability performance - \ No newline at end of file +