Last active
August 29, 2015 14:21
-
-
Save eddumelendez/0c3970c86be11c78c356 to your computer and use it in GitHub Desktop.
SonarQube 5.1 Code Coverage
This file contains hidden or 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
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>2.12.4</version> | |
<configuration> | |
<systemPropertyVariables> | |
<apptest>${project.basedir}/src/test/resources</apptest> | |
</systemPropertyVariables> | |
<properties> | |
<property> | |
<name>listener</name> | |
<value>org.sonar.java.jacoco.JUnitListener</value> | |
</property> | |
</properties> | |
</configuration> | |
</plugin> | |
<dependencies> | |
<dependency> | |
<groupId>org.codehaus.sonar-plugins.java</groupId> | |
<artifactId>sonar-jacoco-listeners</artifactId> | |
<version>1.2</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
mvn -Psonar clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment