summaryrefslogtreecommitdiffstats
path: root/openecomp-be
diff options
context:
space:
mode:
authorAvi Gaffa <avi.gaffa@amdocs.com>2017-09-10 15:22:07 +0300
committeravigaffa <avi.gaffa@amdocs.com>2017-09-10 15:41:56 +0300
commit7d6d63c8a5bf3fba3b8a4a3fea372da02458c0ed (patch)
treead72ffee6f7d1305e767fa7ebfcabdd17caccf30 /openecomp-be
parent00e935fc6b8baae4d9b9ffef2c748202a60b66b4 (diff)
Add jacoco code coverage to onboarding
Issue-ID: SDC-303 Change-Id: Ia9c94ba4b2021fb7c5ff2213eb795370cac5ae4b Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
Diffstat (limited to 'openecomp-be')
-rw-r--r--openecomp-be/pom.xml20
1 files changed, 20 insertions, 0 deletions
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>