From 1dccffbe375c316336a06b2c55dae2ddaae2224b Mon Sep 17 00:00:00 2001 From: Pamela Dragosh Date: Fri, 16 Feb 2018 10:29:09 -0500 Subject: Modify sonar settings to include all sub-modules We are now including all the sub-modules coverage into one file. This will now reflect correct statistics for any sub-module that tests code located in another sub-module. Issue-ID: POLICY-634 Change-Id: I37f1f02fa1763bd02adb425b8a6f5ddbb760a9f0 Signed-off-by: Pamela Dragosh --- pom.xml | 264 ++++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 173 insertions(+), 91 deletions(-) diff --git a/pom.xml b/pom.xml index f43aa0c6..bab777b1 100644 --- a/pom.xml +++ b/pom.xml @@ -1,22 +1,22 @@ - + ============LICENSE_END========================================================= +--> @@ -26,7 +26,7 @@ org.onap.oparent oparent 0.1.1 - + org.onap.policy.common @@ -39,16 +39,28 @@ Common Modules for Policy-Engine in both XACML and Drools flavor + 1.8 1.8 - 1.2.3 - 1.0.2 UTF-8 + + https://nexus.onap.org - /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} + /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} content/repositories/releases/ content/repositories/snapshots/ - content/repositories/staging/ + content/repositories/staging/ + + + + ${project.basedir}/../target/code-coverage/jacoco-ut.exec + ${project.basedir}/../target/code-coverage/jacoco-it.exec + reuseReports + + + 1.2.3 + 1.0.2 @@ -68,33 +80,131 @@ - - - - ecomp-releases - Release Repository - ${nexusproxy}/content/repositories/releases/ - - - ecomp-staging - Staging Repository - ${nexusproxy}/content/repositories/staging/ - - - ecomp-snapshots - Snapshots Repository - ${nexusproxy}/content/repositories/snapshots/ - - - ecomp-public - Public Repository - ${nexusproxy}/content/repositories/public/ - - - + + + + ecomp-releases + Release Repository + ${nexusproxy}/content/repositories/releases/ + + + ecomp-staging + Staging Repository + ${nexusproxy}/content/repositories/staging/ + + + ecomp-snapshots + Snapshots Repository + ${nexusproxy}/content/repositories/snapshots/ + + + ecomp-public + Public Repository + ${nexusproxy}/content/repositories/public/ + + + + + + + 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 + 1.0.0 + + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + 2.17,) + + check + + + + + + + + + + + + + + org.jacoco + jacoco-maven-plugin + + + pre-unit-test + + prepare-agent + + + ${sonar.jacoco.reportPath} + true + + + + post-unit-test + test + + report + + + ${sonar.jacoco.reportPath} + + + + org.sonatype.plugins nexus-staging-maven-plugin @@ -113,64 +223,36 @@ - org.apache.maven.plugins - maven-site-plugin - - - org.apache.maven.wagon - wagon-webdav-jackrabbit - 2.10 - - + org.apache.maven.plugins + maven-site-plugin + + + org.apache.maven.wagon + wagon-webdav-jackrabbit + 2.10 + + - - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17,) - - check - - - - - - - - - - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.10.4 - - false - org.umlgraph.doclet.UmlGraphDoc - - org.umlgraph - umlgraph - 5.6 - - -views - true - - - + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.4 + + false + org.umlgraph.doclet.UmlGraphDoc + + org.umlgraph + umlgraph + 5.6 + + -views + true + + + -- cgit 1.2.3-korg