diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2013-02-06 15:57:38 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2013-02-06 17:59:16 +0100 |
commit | 8c464366c208f9b89186649e024ccbf9f792e3f3 (patch) | |
tree | 098c919c2d5291ed8171fbf062022e63dd42fc72 /pom.xml | |
parent | b73397a160c4f84702c659bb596394fff9d7fe98 (diff) | |
download | sonarqube-8c464366c208f9b89186649e024ccbf9f792e3f3.tar.gz sonarqube-8c464366c208f9b89186649e024ccbf9f792e3f3.zip |
Add the Maven profile "coverage-per-test"
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -1301,6 +1301,34 @@ </pluginManagement> </build> </profile> + + <profile> + <id>coverage-per-test</id> + <dependencies> + <dependency> + <groupId>org.codehaus.sonar-plugins.java</groupId> + <artifactId>sonar-jacoco-listeners</artifactId> + <version>${sonarJava.version}</version> + <scope>test</scope> + </dependency> + </dependencies> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <properties> + <property> + <name>listener</name> + <value>org.sonar.java.jacoco.JUnitListener</value> + </property> + </properties> + </configuration> + </plugin> + </plugins> + </build> + </profile> </profiles> </project> |