GeezerVison is showing github.com — jacoco · lerndevops/samplejavaapp@1ef0b8e
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: pom.xml +41-1Lines changed: 41 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
13 | 13 | <vaadin.version>24.1.0</vaadin.version> |
14 | 14 | <maven.compiler.source>21</maven.compiler.source> |
15 | 15 | <maven.compiler.target>21</maven.compiler.target> |
16 | | - <jacoco.version>0.8.6</jacoco.version> |
| 16 | + <jacoco.version>0.8.11</jacoco.version> |
17 | 17 | </properties> |
18 | 18 |
|
19 | 19 | <repositories> |
|
78 | 78 | <target>${maven.compiler.target}</target> |
79 | 79 | </configuration> |
80 | 80 | </plugin> |
| 81 | + <plugin> |
| 82 | + <groupId>org.jacoco</groupId> |
| 83 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 84 | + <version>${jacoco.version}</version> |
| 85 | + <executions> |
| 86 | + <execution> |
| 87 | + <id>prepare-agent</id> |
| 88 | + <goals> |
| 89 | + <goal>prepare-agent</goal> |
| 90 | + </goals> |
| 91 | + </execution> |
| 92 | + <execution> |
| 93 | + <id>report</id> |
| 94 | + <phase>test</phase> |
| 95 | + <goals> |
| 96 | + <goal>report</goal> |
| 97 | + </goals> |
| 98 | + </execution> |
| 99 | + <execution> |
| 100 | + <id>coverage-check</id> |
| 101 | + <goals> |
| 102 | + <goal>check</goal> |
| 103 | + </goals> |
| 104 | + <configuration> |
| 105 | + <rules> |
| 106 | + <rule> |
| 107 | + <element>BUNDLE</element> |
| 108 | + <limits> |
| 109 | + <limit> |
| 110 | + <counter>LINE</counter> |
| 111 | + <value>COVEREDRATIO</value> |
| 112 | + <minimum>0.50</minimum> |
| 113 | + </limit> |
| 114 | + </limits> |
| 115 | + </rule> |
| 116 | + </rules> |
| 117 | + </configuration> |
| 118 | + </execution> |
| 119 | + </executions> |
| 120 | + </plugin> |
81 | 121 | </plugins> |
82 | 122 | </build> |
83 | 123 | </project> |