File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change 225
225
<target >1.8</target >
226
226
</configuration >
227
227
</plugin >
228
+
229
+ <!-- Integrate JaCoCo code coverage plugin from https://www.eclemma.org/jacoco/trunk/doc/index.html -->
230
+ <plugin >
231
+ <groupId >org.jacoco</groupId >
232
+ <artifactId >jacoco-maven-plugin</artifactId >
233
+ <version >0.8.10</version >
234
+ <executions >
235
+ <execution >
236
+ <goals >
237
+ <goal >prepare-agent</goal >
238
+ </goals >
239
+ </execution >
240
+ <execution >
241
+ <id >report</id >
242
+ <phase >prepare-package</phase >
243
+ <goals >
244
+ <goal >report</goal >
245
+ </goals >
246
+ </execution >
247
+ <execution >
248
+ <id >jacoco-check</id >
249
+ <goals >
250
+ <goal >check</goal >
251
+ </goals >
252
+ <configuration >
253
+ <rules >
254
+ <rule >
255
+ <element >BUNDLE</element >
256
+ <limits >
257
+ <limit >
258
+ <counter >COMPLEXITY</counter >
259
+ <value >COVEREDRATIO</value >
260
+ <minimum >0.33</minimum >
261
+ </limit >
262
+ <limit >
263
+ <counter >INSTRUCTION</counter >
264
+ <value >COVEREDRATIO</value >
265
+ <minimum >42%</minimum >
266
+ </limit >
267
+ <limit >
268
+ <counter >LINE</counter >
269
+ <value >MISSEDCOUNT</value >
270
+ <maximum >1544</maximum >
271
+ </limit >
272
+ </limits >
273
+ </rule >
274
+ </rules >
275
+ </configuration >
276
+ </execution >
277
+ </executions >
278
+ </plugin >
279
+
228
280
</plugins >
229
281
</build >
230
282
</project >
You can’t perform that action at this time.
0 commit comments