From 8cad60f58560528993601cd1d76fe769678dbfff Mon Sep 17 00:00:00 2001 From: yangyan Date: Thu, 20 Feb 2020 14:17:11 +0800 Subject: Fix error about coverage Change-Id: I0916b214ecda9b4a9bfb54e1c896ad10a713f8c6 Issue-ID: VFC-1619 Signed-off-by: yangyan --- zte/sfc-driver/plugin-standalone/pom.xml | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/zte/sfc-driver/plugin-standalone/pom.xml b/zte/sfc-driver/plugin-standalone/pom.xml index eb75ecb..50c6f09 100644 --- a/zte/sfc-driver/plugin-standalone/pom.xml +++ b/zte/sfc-driver/plugin-standalone/pom.xml @@ -38,6 +38,11 @@ sfc-driver + ${project.build.directory}/surefire-reports + ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml + true + ${project.version} + reuseReports @@ -69,7 +74,7 @@ - + org.apache.maven.plugins maven-dependency-plugin 2.8 @@ -136,6 +141,29 @@ + + org.jacoco + jacoco-maven-plugin + + + prepare-agent + + prepare-agent + + + + report + + report + + + ${project.build.directory}/code-coverage/jacoco.exec + ${project.reporting.outputDirectory}/jacoco-ut + + + + +