Skip to content

Commit 64390b2

Browse files
Merge branch '10.0.x' into 11.0.x
2 parents 18bba0f + 38df318 commit 64390b2

File tree

1 file changed

+70
-0
lines changed

1 file changed

+70
-0
lines changed

pom.xml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,76 @@
275275

276276
<build>
277277
<plugins>
278+
<plugin>
279+
<groupId>org.jacoco</groupId>
280+
<artifactId>jacoco-maven-plugin</artifactId>
281+
<executions>
282+
<execution>
283+
<id>prepare-agent</id>
284+
<goals>
285+
<goal>prepare-agent</goal>
286+
</goals>
287+
</execution>
288+
<execution>
289+
<id>prepare-agent-it</id>
290+
<goals>
291+
<goal>prepare-agent-integration</goal>
292+
</goals>
293+
</execution>
294+
<execution>
295+
<id>check</id>
296+
<goals>
297+
<goal>check</goal>
298+
</goals>
299+
<configuration>
300+
<rules>
301+
<rule>
302+
<element>BUNDLE</element>
303+
<limits>
304+
<limit>
305+
<counter>INSTRUCTION</counter>
306+
<value>COVEREDRATIO</value>
307+
<minimum>0.70</minimum>
308+
</limit>
309+
<limit>
310+
<counter>BRANCH</counter>
311+
<value>COVEREDRATIO</value>
312+
<minimum>0.50</minimum>
313+
</limit>
314+
<limit>
315+
<counter>COMPLEXITY</counter>
316+
<value>COVEREDRATIO</value>
317+
<minimum>0.50</minimum>
318+
</limit>
319+
<limit>
320+
<counter>LINE</counter>
321+
<value>COVEREDRATIO</value>
322+
<minimum>0.50</minimum>
323+
</limit>
324+
<limit>
325+
<counter>METHOD</counter>
326+
<value>COVEREDRATIO</value>
327+
<minimum>0.80</minimum>
328+
</limit>
329+
<limit>
330+
<counter>CLASS</counter>
331+
<value>COVEREDRATIO</value>
332+
<minimum>0.80</minimum>
333+
</limit>
334+
</limits>
335+
</rule>
336+
</rules>
337+
</configuration>
338+
</execution>
339+
<execution>
340+
<id>report</id>
341+
<phase>test</phase>
342+
<goals>
343+
<goal>report</goal>
344+
</goals>
345+
</execution>
346+
</executions>
347+
</plugin>
278348
<plugin>
279349
<groupId>org.apache.maven.plugins</groupId>
280350
<artifactId>maven-failsafe-plugin</artifactId>

0 commit comments

Comments
 (0)