test - add config to ignore certain files from test coverage

This commit is contained in:
Pearl Dsilva 2024-01-02 07:12:32 -05:00
parent ce8d0cd81b
commit 620b093f9b
1 changed files with 10 additions and 2 deletions

View File

@ -35,10 +35,18 @@
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${cs.jacoco-plugin.version}</version>
<executions>
<execution>
<id>default-prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
<configuration>
<excludes>
<exclude>**/org/apache/cloudstack/agent/api/**</exclude>
<exclude>**/org/apache/cloudstack/api/response/**</exclude>
<exclude>**/org/apache/cloudstack/agent/api/*</exclude>
<exclude>**/org/apache/cloudstack/api/response/*</exclude>
</excludes>
</configuration>
</plugin>