diff options
author | Piotr Jaszczyk <piotr.jaszczyk@nokia.com> | 2018-08-23 09:06:19 +0200 |
---|---|---|
committer | Piotr Jaszczyk <piotr.jaszczyk@nokia.com> | 2018-08-23 09:30:47 +0200 |
commit | 1d9f81b69b5caad88373d3fcece4654df4729161 (patch) | |
tree | 97b897d5acb058b132054bb8402b971a9e3ac26b /hv-collector-coverage | |
parent | 56c5808a172a1ec8d8f82aafbed67fc020df9fac (diff) |
Update to Jacoco 0.8.2 & fix coverage report
* Upgrade to Jacoco version with Kotlin support
* Reorganize hv-collector-coverage pom.xml so aggregated report works
again
Change-Id: I636d901114701e2c6669d45add85aafcad8a6783
Issue-ID: DCAEGEN2-729
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
Diffstat (limited to 'hv-collector-coverage')
-rw-r--r-- | hv-collector-coverage/pom.xml | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/hv-collector-coverage/pom.xml b/hv-collector-coverage/pom.xml index 6417340a..f988f8ec 100644 --- a/hv-collector-coverage/pom.xml +++ b/hv-collector-coverage/pom.xml @@ -53,11 +53,21 @@ <artifactId>jacoco-maven-plugin</artifactId> <executions> <execution> - <id>default-report</id> - <phase>package</phase> + <id>jacoco-aggregate-report</id> + <phase>verify</phase> <goals> <goal>report-aggregate</goal> </goals> + <configuration> + <excludes> + <!-- Exclute Protobuf-generated classes --> + <exclude>org/onap/ves/*</exclude> + </excludes> + <dataFileIncludes> + <dataFileInclude>**/jacoco-ut.exec</dataFileInclude> + <dataFileInclude>**/jacoco-it.exec</dataFileInclude> + </dataFileIncludes> + </configuration> </execution> </executions> </plugin> @@ -77,22 +87,27 @@ </dependency> <dependency> <groupId>${project.parent.groupId}</groupId> - <artifactId>hv-collector-main</artifactId> + <artifactId>hv-collector-dcae-app-simulator</artifactId> <version>${project.parent.version}</version> </dependency> <dependency> <groupId>${project.parent.groupId}</groupId> - <artifactId>hv-collector-utils</artifactId> + <artifactId>hv-collector-domain</artifactId> <version>${project.parent.version}</version> </dependency> <dependency> <groupId>${project.parent.groupId}</groupId> - <artifactId>hv-collector-domain</artifactId> + <artifactId>hv-collector-health-check</artifactId> <version>${project.parent.version}</version> </dependency> <dependency> <groupId>${project.parent.groupId}</groupId> - <artifactId>hv-collector-dcae-app-simulator</artifactId> + <artifactId>hv-collector-main</artifactId> + <version>${project.parent.version}</version> + </dependency> + <dependency> + <groupId>${project.parent.groupId}</groupId> + <artifactId>hv-collector-utils</artifactId> <version>${project.parent.version}</version> </dependency> <dependency> |