From: Pamela Dragosh Date: Fri, 16 Feb 2018 15:30:56 +0000 (-0500) Subject: Modify sonar settings to include all sub-modules X-Git-Tag: v1.2.0~28 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=bd6c437e3ecbd47dc7760e4570348fe555ab078d;p=policy%2Fdrools-pdp.git 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: I916d90c27b316837284a635087665130dee5437b Signed-off-by: Pamela Dragosh --- diff --git a/pom.xml b/pom.xml index 1ea1f7a9..a279481b 100644 --- a/pom.xml +++ b/pom.xml @@ -1,6 +1,6 @@ - + ============LICENSE_END========================================================= +--> @@ -26,7 +26,7 @@ org.onap.oparent oparent 0.1.1 - + org.onap.policy.drools-pdp @@ -38,8 +38,25 @@ The ONAP Policy Engine drools-based PDP Project + 1.8 1.8 + + + https://nexus.onap.org + /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} + content/repositories/releases/ + content/repositories/snapshots/ + content/repositories/staging/ + + + + ${project.basedir}/../target/code-coverage/jacoco-ut.exec + ${project.basedir}/../target/code-coverage/jacoco-it.exec + reuseReports + + 1.0.0 0.0.1 2.25.1 @@ -56,12 +73,6 @@ 2.5 23.0 1.4.01 - - https://nexus.onap.org - /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} - content/repositories/releases/ - content/repositories/snapshots/ - content/repositories/staging/ @@ -98,30 +109,30 @@ - - - - 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/ + + + @@ -211,35 +222,61 @@ ${eclipselink.version} - org.mariadb.jdbc - mariadb-java-client - ${mariadb.jdbc.version} + org.mariadb.jdbc + mariadb-java-client + ${mariadb.jdbc.version} - org.hibernate - hibernate-core - ${hibernate.core.version} + org.hibernate + hibernate-core + ${hibernate.core.version} - org.hibernate.common - hibernate-commons-annotations - ${hibernate.commons.annotations.version} + org.hibernate.common + hibernate-commons-annotations + ${hibernate.commons.annotations.version} - commons-io - commons-io - ${commons.io.version} + commons-io + commons-io + ${commons.io.version} - xml-apis - xml-apis - ${xml.apis.version} + xml-apis + xml-apis + ${xml.apis.version} - + + + 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 @@ -277,15 +314,15 @@ - 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 + + @@ -293,56 +330,96 @@ jacoco-maven-plugin - + - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.17,) - - check - - - - - - - - - - + + 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.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 + + +