Skip to content

Commit 8225e39

Browse files
committed
Fix coverage
1 parent 1b63144 commit 8225e39

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

pom.xml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
<version>2.22.2</version>
120120
<configuration>
121121
<argLine>
122-
--illegal-access=permit
122+
${surefireArgLine}
123123
</argLine>
124124
</configuration>
125125
</plugin>
@@ -144,7 +144,7 @@
144144

145145
<execution>
146146
<id>report</id>
147-
<phase>test</phase>
147+
<phase>verify</phase>
148148
<goals>
149149
<goal>report</goal>
150150
</goals>
@@ -155,22 +155,25 @@
155155
</configuration>
156156
</execution>
157157

158-
159-
160158
<execution>
161159
<id>jacoco-check</id>
162160
<goals>
163161
<goal>check</goal>
164162
</goals>
165163
<configuration>
164+
<dataFile>${project.build.directory}/coverage-reports/jacoco-ut.exec</dataFile>
165+
<excludes>
166+
<exclude>dev/openfeature/javasdk/exceptions/**</exclude>
167+
</excludes>
168+
166169
<rules>
167170
<rule>
168171
<element>PACKAGE</element>
169172
<limits>
170173
<limit>
171174
<counter>LINE</counter>
172175
<value>COVEREDRATIO</value>
173-
<minimum>0.50</minimum>
176+
<minimum>0.80</minimum>
174177
</limit>
175178
</limits>
176179
</rule>

0 commit comments

Comments
 (0)