Skip to content

Instantly share code, notes, and snippets.

@jdmwood
Created June 26, 2019 15:17
Show Gist options
  • Save jdmwood/e65f251a7cea15ae70bc948c5a11d795 to your computer and use it in GitHub Desktop.
Save jdmwood/e65f251a7cea15ae70bc948c5a11d795 to your computer and use it in GitHub Desktop.
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</version>
<executions>
<!-- Generate reports from coverage generated during integration tests. Note that this maven plugin
does NOT generate the coverage - that is done by adding the Jacoco agent to the Docker container -->
<execution>
<goals>
<goal>report-integration</goal>
</goals>
<configuration>
<dataFile>${project.build.directory}/jacoco-it/jacoco-it.exec</dataFile>
<outputDirectory>${project.build.directory}/coverage-it</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment