From 2f9eb9aaf8281d77d5d014abf7975d263b91d819 Mon Sep 17 00:00:00 2001 From: Rob Adams Date: Thu, 7 Aug 2014 14:39:32 -0700 Subject: [PATCH] Modify build after breakage caused by JaCoCo. Unfortunately requires switching to JaCoCo. Change-Id: Ie47aaf10d079e39a1c0a97788f07212aba91952f Signed-off-by: Rob Adams --- groupbasedpolicy/pom.xml | 78 ++++++++++++++++++---------------------- 1 file changed, 35 insertions(+), 43 deletions(-) diff --git a/groupbasedpolicy/pom.xml b/groupbasedpolicy/pom.xml index 51abcbce4..8fedd9bd7 100644 --- a/groupbasedpolicy/pom.xml +++ b/groupbasedpolicy/pom.xml @@ -84,10 +84,6 @@ org.opendaylight.controller.model model-flow-service - - org.opendaylight.controller.model - model-flow-management - org.opendaylight.controller.model model-inventory @@ -119,20 +115,16 @@ * - org.opendaylight.controller.config.yang.config.endpoint_provider + + org.opendaylight.yang.gen.v1.urn.opendaylight.groupbasedpolicy.*, + org.opendaylight.controller.config.yang.config.endpoint_provider, + org.opendaylight.groupbasedpolicy.endpoint, + org.opendaylight.groupbasedpolicy.resolver + ${project.basedir}/META-INF - - org.apache.maven.plugins - maven-surefire-plugin - - true - - -XX:-UseSplitVerifier - - org.codehaus.mojo build-helper-maven-plugin @@ -152,20 +144,6 @@ - - - org.codehaus.mojo - cobertura-maven-plugin - 2.6 - - - - org/opendaylight/yang/**/*.class - org/opendaylight/controller/config/yang/**/*.class - - - - org.opendaylight.yangtools yang-maven-plugin @@ -210,24 +188,38 @@ - - - - - - - - org.codehaus.mojo - cobertura-maven-plugin - 2.6 + org.apache.maven.plugins + maven-surefire-plugin - - html - xml - + true + + org.jacoco + jacoco-maven-plugin + + + pre-unit-test + + prepare-agent + + + + post-unit-test + test + + report + + + ${sonar.jacoco.reportPath} + + org/opendaylight/groupbasedpolicy/**/*.class + + + + + - + -- 2.36.6