Skip to content

Instantly share code, notes, and snippets.

@FusRoDah061
Created July 16, 2019 19:11
Show Gist options
  • Select an option

  • Save FusRoDah061/9dff741453b9625d53afa7a158ac3bcf to your computer and use it in GitHub Desktop.

Select an option

Save FusRoDah061/9dff741453b9625d53afa7a158ac3bcf to your computer and use it in GitHub Desktop.
Adicionar JaCoCo em um projeto Maven
<project>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>prepare-package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment