summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--onboarding/pom.xml1
-rw-r--r--openecomp-be/pom.xml20
2 files changed, 21 insertions, 0 deletions
diff --git a/onboarding/pom.xml b/onboarding/pom.xml
index 36a36ee325..141ffc012d 100644
--- a/onboarding/pom.xml
+++ b/onboarding/pom.xml
@@ -20,6 +20,7 @@
<properties>
<!-- Maven plugin versions -->
+ <jacoco.version>0.7.9</jacoco.version>
<mvn.assembly.version>2.1</mvn.assembly.version>
<mvn.compiler.version>2.5.1</mvn.compiler.version>
<mvn.deploy.version>2.4</mvn.deploy.version>
diff --git a/openecomp-be/pom.xml b/openecomp-be/pom.xml
index 92d5bccf0b..10b59fa23f 100644
--- a/openecomp-be/pom.xml
+++ b/openecomp-be/pom.xml
@@ -111,6 +111,26 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <version>${jacoco.version}</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>prepare-agent</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>report</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>report</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
</plugins>
</build>