From 20eef609d27bb5aaf6bf720b37fb29bbe55c003e Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Tue, 14 Jan 2020 14:57:58 -0500 Subject: [PATCH] Update sonar config Removed configuration that will be in policy/parent. Ignore sub-modules that don't have source code - slight speed improvement. Issue-ID: POLICY-2321 Change-Id: I6f483f80510050347452bd85af5340e81402bbc6 Signed-off-by: Pamela Dragosh --- packages/pom.xml | 6 ++++- pom.xml | 72 +----------------------------------------------------- testsuites/pom.xml | 11 +++++++-- 3 files changed, 15 insertions(+), 74 deletions(-) diff --git a/packages/pom.xml b/packages/pom.xml index b9352419..b7c0d604 100644 --- a/packages/pom.xml +++ b/packages/pom.xml @@ -1,6 +1,6 @@ + true + diff --git a/pom.xml b/pom.xml index 7fd1404a..4790b36a 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ ONAP Policy API ================================================================================ Copyright (C) 2018 Samsung Electronics Co., Ltd. All rights reserved. - Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. + Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved. Modifications Copyright (C) 2019 Nordix Foundation. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); @@ -41,12 +41,6 @@ Code that define our external API. - - - ${project.basedir}/../target/code-coverage/jacoco-ut.exec - ${project.basedir}/../target/code-coverage/jacoco-it.exec - reuseReports - 1.6.2-SNAPSHOT 2.2.1-SNAPSHOT @@ -106,32 +100,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 @@ -170,44 +138,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 diff --git a/testsuites/pom.xml b/testsuites/pom.xml index 91787c7a..4d2951a8 100644 --- a/testsuites/pom.xml +++ b/testsuites/pom.xml @@ -2,7 +2,7 @@ ============LICENSE_START======================================================= ONAP Policy API ================================================================================ - 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. @@ -24,10 +24,17 @@ policy-api 2.2.0-SNAPSHOT + testsuites pom + + + + true + + stability performance - \ No newline at end of file + -- 2.16.6