From: Robert Varga Date: Tue, 22 Jan 2019 23:18:15 +0000 (+0100) Subject: Add coverage aggregation X-Git-Tag: release/neon~40 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=8b5e78f86280a0e3ad82a310d779102a531271a4;p=netvirt.git Add coverage aggregation This recognizes sonar build and runs jacoco report aggregation, so that test coverage across modules is accounted for. Change-Id: I45b303b8e87adb3d43b2405b1df5cd14791148e8 Signed-off-by: Robert Varga --- diff --git a/pom.xml b/pom.xml index 2f7da37091..3e94309d10 100644 --- a/pom.xml +++ b/pom.xml @@ -81,6 +81,42 @@ and is available at http://www.eclipse.org/legal/epl-v10.html no-sfc + + sonar-jacoco-aggregate + + + odl.jacoco.aggregateFile + + + + + + org.jacoco + jacoco-maven-plugin + + + merge + + merge + + generate-resources + + ${odl.jacoco.aggregateFile} + + + ${project.basedir} + + **/target/code-coverage/*.exec + + + + + + + + + +