Skip to content

Commit 620b093

Browse files
committed
test - add config to ignore certain files from test coverage
1 parent ce8d0cd commit 620b093

File tree

1 file changed

+10
-2
lines changed
  • plugins/network-elements/nsx

1 file changed

+10
-2
lines changed

plugins/network-elements/nsx/pom.xml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,18 @@
3535
<groupId>org.jacoco</groupId>
3636
<artifactId>jacoco-maven-plugin</artifactId>
3737
<version>${cs.jacoco-plugin.version}</version>
38+
<executions>
39+
<execution>
40+
<id>default-prepare-agent</id>
41+
<goals>
42+
<goal>prepare-agent</goal>
43+
</goals>
44+
</execution>
45+
</executions>
3846
<configuration>
3947
<excludes>
40-
<exclude>**/org/apache/cloudstack/agent/api/**</exclude>
41-
<exclude>**/org/apache/cloudstack/api/response/**</exclude>
48+
<exclude>**/org/apache/cloudstack/agent/api/*</exclude>
49+
<exclude>**/org/apache/cloudstack/api/response/*</exclude>
4250
</excludes>
4351
</configuration>
4452
</plugin>

0 commit comments

Comments
 (0)