diff options
author | Dan Timoney <dtimoney@att.com> | 2020-01-21 08:52:37 -0500 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2020-01-21 08:52:37 -0500 |
commit | bfff55a06c555babe476eab98d39e468c19063f9 (patch) | |
tree | 68f75ee6f8efcb76b24e95ca37b16b5093461d1b /sli/provider | |
parent | 4da70e483b8f177b9dad4ea59a80757e82b575c6 (diff) |
Add report aggregator
For new Sonar scanner, need to add report aggregate so that tests
run in sli/provider against classes in sli/provider-base will be
counted correctly.
Change-Id: I0a73a0a50353f995ea4b90c09649e55b057f024a
Issue-ID: CCSDK-2029
Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'sli/provider')
-rwxr-xr-x | sli/provider/pom.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sli/provider/pom.xml b/sli/provider/pom.xml index 66717b7f..cf4e004b 100755 --- a/sli/provider/pom.xml +++ b/sli/provider/pom.xml @@ -110,7 +110,31 @@ </configuration> </plugin> + <!-- Jacoco / Sonar --> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <version>${jacoco.version}</version> + <executions> + <execution> + <id>aggregate-report</id> + <phase>verify</phase> + <goals> + <goal>report-aggregate</goal> + </goals> + <configuration> + <dataFileIncludes> + target/code-coverage/jacoco-ut.exec, + target/code-coverage/jacoco-it.exec, + ../provider-base/target/code-coverage/jacoco-ut.exec, + ../provider-base/target/code-coverage/jacoco-it.exec + </dataFileIncludes> + </configuration> + </execution> + </executions> + </plugin> </plugins> </build> + </project> |