Skip to content

Commit 15eea52

Browse files
Merge branch '11.0.x' into 11.1.x
2 parents d4ad703 + 64390b2 commit 15eea52

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
@@ -298,6 +298,76 @@
298298

299299
<build>
300300
<plugins>
301+
<plugin>
302+
<groupId>org.jacoco</groupId>
303+
<artifactId>jacoco-maven-plugin</artifactId>
304+
<executions>
305+
<execution>
306+
<id>prepare-agent</id>
307+
<goals>
308+
<goal>prepare-agent</goal>
309+
</goals>
310+
</execution>
311+
<execution>
312+
<id>prepare-agent-it</id>
313+
<goals>
314+
<goal>prepare-agent-integration</goal>
315+
</goals>
316+
</execution>
317+
<execution>
318+
<id>check</id>
319+
<goals>
320+
<goal>check</goal>
321+
</goals>
322+
<configuration>
323+
<rules>
324+
<rule>
325+
<element>BUNDLE</element>
326+
<limits>
327+
<limit>
328+
<counter>INSTRUCTION</counter>
329+
<value>COVEREDRATIO</value>
330+
<minimum>0.70</minimum>
331+
</limit>
332+
<limit>
333+
<counter>BRANCH</counter>
334+
<value>COVEREDRATIO</value>
335+
<minimum>0.50</minimum>
336+
</limit>
337+
<limit>
338+
<counter>COMPLEXITY</counter>
339+
<value>COVEREDRATIO</value>
340+
<minimum>0.50</minimum>
341+
</limit>
342+
<limit>
343+
<counter>LINE</counter>
344+
<value>COVEREDRATIO</value>
345+
<minimum>0.50</minimum>
346+
</limit>
347+
<limit>
348+
<counter>METHOD</counter>
349+
<value>COVEREDRATIO</value>
350+
<minimum>0.80</minimum>
351+
</limit>
352+
<limit>
353+
<counter>CLASS</counter>
354+
<value>COVEREDRATIO</value>
355+
<minimum>0.80</minimum>
356+
</limit>
357+
</limits>
358+
</rule>
359+
</rules>
360+
</configuration>
361+
</execution>
362+
<execution>
363+
<id>report</id>
364+
<phase>test</phase>
365+
<goals>
366+
<goal>report</goal>
367+
</goals>
368+
</execution>
369+
</executions>
370+
</plugin>
301371
<plugin>
302372
<groupId>org.apache.maven.plugins</groupId>
303373
<artifactId>maven-failsafe-plugin</artifactId>

0 commit comments

Comments
 (0)