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 --- pom.xml | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) (limited to 'pom.xml') 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