diff options
author | Avi Gaffa <avi.gaffa@amdocs.com> | 2017-09-10 15:22:07 +0300 |
---|---|---|
committer | avigaffa <avi.gaffa@amdocs.com> | 2017-09-10 15:41:56 +0300 |
commit | 7d6d63c8a5bf3fba3b8a4a3fea372da02458c0ed (patch) | |
tree | ad72ffee6f7d1305e767fa7ebfcabdd17caccf30 | |
parent | 00e935fc6b8baae4d9b9ffef2c748202a60b66b4 (diff) |
Add jacoco code coverage to onboarding
Issue-ID: SDC-303
Change-Id: Ia9c94ba4b2021fb7c5ff2213eb795370cac5ae4b
Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
-rw-r--r-- | onboarding/pom.xml | 1 | ||||
-rw-r--r-- | openecomp-be/pom.xml | 20 |
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> |