File tree 1 file changed +26
-8
lines changed 1 file changed +26
-8
lines changed Original file line number Diff line number Diff line change 664
664
<groupId >org.jacoco</groupId >
665
665
<artifactId >jacoco-maven-plugin</artifactId >
666
666
<version >0.8.8</version >
667
- <configuration >
668
- <excludes >
669
- <exclude >com/ericsson/ei/controller/model/*</exclude >
670
- </excludes >
671
- </configuration >
672
667
<executions >
673
668
<execution >
674
- <id >jacoco-initialize </id >
669
+ <id >prepare-agent </id >
675
670
<goals >
676
671
<goal >prepare-agent</goal >
677
672
</goals >
678
673
</execution >
679
674
<execution >
680
- <id >jacoco-site </id >
681
- <phase >package</phase >
675
+ <id >report </id >
676
+ <phase >prepare- package</phase >
682
677
<goals >
683
678
<goal >report</goal >
684
679
</goals >
685
680
</execution >
681
+ <execution >
682
+ <id >post-unit-test</id >
683
+ <phase >test</phase >
684
+ <goals >
685
+ <goal >report</goal >
686
+ </goals >
687
+ <configuration >
688
+ <!-- Sets the path to the file which contains
689
+ the execution data. -->
690
+ <dataFile >target/jacoco.exec</dataFile >
691
+ <!-- Sets the output directory for the code coverage
692
+ report. -->
693
+ <outputDirectory >target/jacoco</outputDirectory >
694
+ </configuration >
695
+ </execution >
686
696
</executions >
697
+ <configuration >
698
+ <excludes >
699
+ <exclude >com/ericsson/ei/controller/model/*</exclude >
700
+ </excludes >
701
+ <systemPropertyVariables >
702
+ <jacoco-agent .destfile>target/jacoco.exec</jacoco-agent .destfile>
703
+ </systemPropertyVariables >
704
+ </configuration >
687
705
</plugin >
688
706
</plugins >
689
707
</build >
You can’t perform that action at this time.
0 commit comments