-
-
Save framiere/5372236 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--Ajouter la property--> | |
<sonar.jacoco.itReportPath>${project.build.directory}/jacoco-it.exec</sonar.jacoco.itReportPath> | |
<!-- Ajout du plugin jacoco et configuration de l'agent --> | |
<plugin> | |
<groupId>org.jacoco</groupId> | |
<artifactId>jacoco-maven-plugin</artifactId> | |
<version>0.6.2.201302030002</version> | |
<configuration> | |
<propertyName>jacoco.agent.argLine</propertyName> | |
<destFile>${sonar.jacoco.itReportPath}</destFile> | |
<append>true</append> | |
</configuration> | |
<executions> | |
<execution> | |
<id>agent</id> | |
<goals> | |
<goal>prepare-agent</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<!-- Ajout de la conf de l'agent dans surefire --> | |
<argLine>${jacoco.agent.argLine}</argLine> | |
<!-- Remplacement de la conf de failsafe --> | |
<argLine>-Xmx512m -XX:MaxPermSize=256m ${jacoco.agent.argLine}</argLine> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment