chore(maven): enable jacoco rules for audit and tracing modules
All checks were successful
Build / build (push) Successful in 1m57s
All checks were successful
Build / build (push) Successful in 1m57s
This commit is contained in:
parent
bc0110cc29
commit
d1acb1a0ee
2 changed files with 67 additions and 33 deletions
|
@ -51,38 +51,38 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<!-- <build>-->
|
<build>
|
||||||
<!-- <plugins>-->
|
<plugins>
|
||||||
<!-- <plugin>-->
|
<plugin>
|
||||||
<!-- <groupId>org.jacoco</groupId>-->
|
<groupId>org.jacoco</groupId>
|
||||||
<!-- <artifactId>jacoco-maven-plugin</artifactId>-->
|
<artifactId>jacoco-maven-plugin</artifactId>
|
||||||
<!-- <version>${jacoco-plugin.version}</version>-->
|
<version>${jacoco-plugin.version}</version>
|
||||||
<!-- <executions>-->
|
<executions>
|
||||||
<!-- <execution>-->
|
<execution>
|
||||||
<!-- <id>jacoco-check</id>-->
|
<id>jacoco-check</id>
|
||||||
<!-- <goals>-->
|
<goals>
|
||||||
<!-- <goal>check</goal>-->
|
<goal>check</goal>
|
||||||
<!-- </goals>-->
|
</goals>
|
||||||
<!-- <phase>test</phase>-->
|
<phase>test</phase>
|
||||||
<!-- <configuration>-->
|
<configuration>
|
||||||
<!-- <dataFile>${project.build.directory}/jacoco-quarkus.exec</dataFile>-->
|
<dataFile>${project.build.directory}/jacoco-quarkus.exec</dataFile>
|
||||||
<!-- <rules>-->
|
<rules>
|
||||||
<!-- <rule>-->
|
<rule>
|
||||||
<!-- <element>BUNDLE</element>-->
|
<element>BUNDLE</element>
|
||||||
<!-- <limits>-->
|
<limits>
|
||||||
<!-- <limit>-->
|
<limit>
|
||||||
<!-- <counter>INSTRUCTION</counter>-->
|
<counter>INSTRUCTION</counter>
|
||||||
<!-- <value>COVEREDRATIO</value>-->
|
<value>COVEREDRATIO</value>
|
||||||
<!-- <minimum>1</minimum>-->
|
<minimum>1</minimum>
|
||||||
<!-- </limit>-->
|
</limit>
|
||||||
<!-- </limits>-->
|
</limits>
|
||||||
<!-- </rule>-->
|
</rule>
|
||||||
<!-- </rules>-->
|
</rules>
|
||||||
<!-- </configuration>-->
|
</configuration>
|
||||||
<!-- </execution>-->
|
</execution>
|
||||||
<!-- </executions>-->
|
</executions>
|
||||||
<!-- </plugin>-->
|
</plugin>
|
||||||
<!-- </plugins>-->
|
</plugins>
|
||||||
<!-- </build>-->
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -41,4 +41,38 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.jacoco</groupId>
|
||||||
|
<artifactId>jacoco-maven-plugin</artifactId>
|
||||||
|
<version>${jacoco-plugin.version}</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>jacoco-check</id>
|
||||||
|
<goals>
|
||||||
|
<goal>check</goal>
|
||||||
|
</goals>
|
||||||
|
<phase>test</phase>
|
||||||
|
<configuration>
|
||||||
|
<dataFile>${project.build.directory}/jacoco-quarkus.exec</dataFile>
|
||||||
|
<rules>
|
||||||
|
<rule>
|
||||||
|
<element>BUNDLE</element>
|
||||||
|
<limits>
|
||||||
|
<limit>
|
||||||
|
<counter>INSTRUCTION</counter>
|
||||||
|
<value>COVEREDRATIO</value>
|
||||||
|
<minimum>0.95</minimum>
|
||||||
|
</limit>
|
||||||
|
</limits>
|
||||||
|
</rule>
|
||||||
|
</rules>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue