From faaad99b7304d2d0901c282e7597acc453a77655 Mon Sep 17 00:00:00 2001 From: kooper Date: Tue, 7 May 2019 08:44:41 +0000 Subject: Jacoco doesn't show coverage for tests that use PowerMock Change-Id: I28ff85e10dc449bf41b7ce6657ecdf455e9360d4 Issue-ID: SDC-2260 Signed-off-by: kooper --- openecomp-be/pom.xml | 33 --------------------------------- pom.xml | 29 +++++++++++++++++++++++++++-- 2 files changed, 27 insertions(+), 35 deletions(-) diff --git a/openecomp-be/pom.xml b/openecomp-be/pom.xml index 8d7de5c15f..7474467b88 100644 --- a/openecomp-be/pom.xml +++ b/openecomp-be/pom.xml @@ -57,39 +57,6 @@ maven-jar-plugin ${mvn.jar.version} - - org.jacoco - jacoco-maven-plugin - - - default-prepare-agent - - prepare-agent - - - - report - prepare-package - - report - - - - post-unit-test - test - - report - - - - target/jacoco.exec - - target/jacoco-ut - - - - - diff --git a/pom.xml b/pom.xml index 7f11a549a5..04d4a24746 100644 --- a/pom.xml +++ b/pom.xml @@ -139,6 +139,8 @@ Modifications copyright (c) 2018 Nokia 2.9.9 + + 0.8.1 @@ -232,6 +234,17 @@ Modifications copyright (c) 2018 Nokia + + + + org.jacoco + org.jacoco.agent + runtime + ${jacoco.version} + test + + + @@ -389,9 +402,15 @@ Modifications copyright (c) 2018 Nokia jacoco-maven-plugin - default-prepare-agent + default-instrument - prepare-agent + instrument + + + + default-restore-instrumented-classes + + restore-instrumented-classes @@ -399,6 +418,9 @@ Modifications copyright (c) 2018 Nokia report + + ${project.build.directory}/jacoco.exec + @@ -454,6 +476,9 @@ Modifications copyright (c) 2018 Nokia maven-surefire-plugin false + + ${project.build.directory}/jacoco.exec + -- cgit 1.2.3-korg