File tree Expand file tree Collapse file tree 1 file changed +29
-45
lines changed Expand file tree Collapse file tree 1 file changed +29
-45
lines changed Original file line number Diff line number Diff line change 353
353
<build >
354
354
<pluginManagement >
355
355
<plugins >
356
- <!-- This plugin's configuration is used to store Eclipse m2e settings
357
- only. It has no influence on the Maven build itself. TODO: Remove when the
358
- m2e plugin can correctly bind to Maven lifecycle -->
359
- <plugin >
360
- <groupId >org.eclipse.m2e</groupId >
361
- <artifactId >lifecycle-mapping</artifactId >
362
- <version >1.0.0</version >
363
- <configuration >
364
- <lifecycleMappingMetadata >
365
- <pluginExecutions >
366
- <pluginExecution >
367
- <pluginExecutionFilter >
368
- <groupId >org.jacoco</groupId >
369
- <artifactId >
370
- jacoco-maven-plugin
371
- </artifactId >
372
- <versionRange >
373
- [0.6.2,)
374
- </versionRange >
375
- <goals >
376
- <goal >prepare-agent</goal >
377
- </goals >
378
- </pluginExecutionFilter >
379
- <action >
380
- <ignore />
381
- </action >
382
- </pluginExecution >
383
- </pluginExecutions >
384
- </lifecycleMappingMetadata >
385
- </configuration >
386
- </plugin >
387
356
<plugin >
388
357
<groupId >org.apache.maven.plugins</groupId >
389
358
<artifactId >maven-compiler-plugin</artifactId >
410
379
</pluginManagement >
411
380
412
381
<plugins >
413
- <plugin >
414
- <groupId >org.jacoco</groupId >
415
- <artifactId >jacoco-maven-plugin</artifactId >
416
- <version >${jacoco.version} </version >
417
- <executions >
418
- <execution >
419
- <id >prepare-agent</id >
420
- <goals >
421
- <goal >prepare-agent</goal >
422
- </goals >
423
- </execution >
424
- </executions >
425
- </plugin >
426
-
427
382
<!-- checkstyle plug-in. checking against googles styles
428
383
see config at checkstyle.xml
429
384
-->
474
429
</plugins >
475
430
</build >
476
431
432
+ <profiles >
433
+ <profile >
434
+ <id >coverage</id >
435
+ <build >
436
+ <plugins >
437
+ <plugin >
438
+ <groupId >org.jacoco</groupId >
439
+ <artifactId >jacoco-maven-plugin</artifactId >
440
+ <version >${jacoco.version} </version >
441
+ <executions >
442
+ <execution >
443
+ <id >prepare-agent</id >
444
+ <goals >
445
+ <goal >prepare-agent</goal >
446
+ </goals >
447
+ </execution >
448
+ <execution >
449
+ <id >report</id >
450
+ <goals >
451
+ <goal >report</goal >
452
+ </goals >
453
+ </execution >
454
+ </executions >
455
+ </plugin >
456
+ </plugins >
457
+ </build >
458
+ </profile >
459
+ </profiles >
460
+
477
461
<reporting >
478
462
<plugins >
479
463
<plugin >
You can’t perform that action at this time.
0 commit comments