Skip to content

Instantly share code, notes, and snippets.

@steppat
Last active December 17, 2015 18:19
Show Gist options
  • Save steppat/5652703 to your computer and use it in GitHub Desktop.
Save steppat/5652703 to your computer and use it in GitHub Desktop.
<build>
<plugins>
<!-- definicao do plugin Jacoco -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.6.2.201302030002</version>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>prepare-package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
<execution>
<id>check</id>
<goals>
<goal>check</goal>
</goals>
<configuration>
<check>
<classRatio>100</classRatio>
<instructionRatio>90</instructionRatio>
<methodRatio>95</methodRatio>
<branchRatio>85</branchRatio>
<complexityRatio>85</complexityRatio>
<lineRatio>90</lineRatio>
</check>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment