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>
diff --git a/hv-collector-coverage/pom.xml b/hv-collector-coverage/pom.xml
index 6417340..f988f8e 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,12 +87,7 @@
</dependency>
<dependency>
<groupId>${project.parent.groupId}</groupId>
- <artifactId>hv-collector-main</artifactId>
- <version>${project.parent.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.parent.groupId}</groupId>
- <artifactId>hv-collector-utils</artifactId>
+ <artifactId>hv-collector-dcae-app-simulator</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
@@ -92,7 +97,17 @@
</dependency>
<dependency>
<groupId>${project.parent.groupId}</groupId>
- <artifactId>hv-collector-dcae-app-simulator</artifactId>
+ <artifactId>hv-collector-health-check</artifactId>
+ <version>${project.parent.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>${project.parent.groupId}</groupId>
+ <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>