Skip to content

Commit 9451abc

Browse files
author
Guilherme Biff Zarelli
committed
fix: jacoco
1 parent 65c7049 commit 9451abc

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

pom.xml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,6 @@
9696
<goal>prepare-agent</goal>
9797
</goals>
9898
</execution>
99-
<execution>
100-
<id>report</id>
101-
<phase>prepare-package</phase>
102-
<goals>
103-
<goal>report</goal>
104-
</goals>
105-
</execution>
10699
<execution>
107100
<id>jacoco-check</id>
108101
<goals>
@@ -111,18 +104,30 @@
111104
<configuration>
112105
<rules>
113106
<rule>
114-
<element>PACKAGE</element>
107+
<element>BUNDLE</element>
115108
<limits>
116109
<limit>
117110
<counter>LINE</counter>
118111
<value>COVEREDRATIO</value>
119112
<minimum>1</minimum>
120113
</limit>
114+
<limit>
115+
<counter>BRANCH</counter>
116+
<value>COVEREDRATIO</value>
117+
<minimum>1</minimum>
118+
</limit>
121119
</limits>
122120
</rule>
123121
</rules>
124122
</configuration>
125123
</execution>
124+
<execution>
125+
<id>report</id>
126+
<phase>prepare-package</phase>
127+
<goals>
128+
<goal>report</goal>
129+
</goals>
130+
</execution>
126131
</executions>
127132
</plugin>
128133
<plugin>

0 commit comments

Comments
 (0)