Skip to content

Commit 89f7a6e

Browse files
committed
JaCoCo the way codecov.io expects it
1 parent d03765c commit 89f7a6e

File tree

1 file changed

+26
-9
lines changed

1 file changed

+26
-9
lines changed

pom.xml

Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -718,16 +718,33 @@
718718
<logViolationsToConsole>true</logViolationsToConsole>
719719
</configuration>
720720
</plugin>
721+
<plugin>
722+
<groupId>org.jacoco</groupId>
723+
<artifactId>jacoco-maven-plugin</artifactId>
724+
<version>0.8.6</version>
725+
<executions>
726+
<execution>
727+
<id>start-agent</id>
728+
<goals>
729+
<goal>prepare-agent</goal>
730+
</goals>
731+
</execution>
732+
<execution>
733+
<id>generate-report</id>
734+
<goals>
735+
<goal>report</goal>
736+
</goals>
737+
</execution>
738+
<execution>
739+
<id>report-aggregate</id>
740+
<phase>verify</phase>
741+
<goals>
742+
<goal>report-aggregate</goal>
743+
</goals>
744+
</execution>
745+
</executions>
746+
</plugin>
721747
</plugins>
722-
<pluginManagement>
723-
<plugins>
724-
<plugin>
725-
<groupId>org.jacoco</groupId>
726-
<artifactId>jacoco-maven-plugin</artifactId>
727-
<version>0.8.4</version>
728-
</plugin>
729-
</plugins>
730-
</pluginManagement>
731748
</build>
732749
<reporting>
733750
<plugins>

0 commit comments

Comments
 (0)