diff options
author | Avi Gaffa <avi.gaffa@amdocs.com> | 2017-09-11 11:17:56 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-11 11:17:56 +0000 |
commit | 82d454fd3e8c9fdf66517d01a99019a379dbfdb6 (patch) | |
tree | 2cd25580c37c916d623c55a64cc7f45d26c1890b | |
parent | 0a89f59cda65da8f64bd5faf12cf6abb28386aeb (diff) | |
parent | 7d6d63c8a5bf3fba3b8a4a3fea372da02458c0ed (diff) |
Merge "Add jacoco code coverage to onboarding"
-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> |