Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael Istria2016-03-22 15:57:24 +0000
committerDavid Williams2016-03-23 16:33:49 +0000
commit0f379a4a29d41ac1be0d57bdcf85a8764f06f9e7 (patch)
tree53b816cbbb540c5256262819f146560d5f74d086 /eclipse-platform-parent/pom.xml
parent7b8d93003b21b59f90ebd20eaafe3db6ef5b989a (diff)
downloadeclipse.platform.releng.aggregator-0f379a4a29d41ac1be0d57bdcf85a8764f06f9e7.tar.gz
eclipse.platform.releng.aggregator-0f379a4a29d41ac1be0d57bdcf85a8764f06f9e7.tar.xz
eclipse.platform.releng.aggregator-0f379a4a29d41ac1be0d57bdcf85a8764f06f9e7.zip
Bug 388956 - Enable code coverage in test suitesP20160324-0800
Change-Id: I80e0e010275882cb3d5ce40f59409981f50f2b2e Signed-off-by: Mickael Istria <mistria@redhat.com>
Diffstat (limited to 'eclipse-platform-parent/pom.xml')
-rw-r--r--eclipse-platform-parent/pom.xml31
1 files changed, 31 insertions, 0 deletions
diff --git a/eclipse-platform-parent/pom.xml b/eclipse-platform-parent/pom.xml
index 870ec6476..6e89721ad 100644
--- a/eclipse-platform-parent/pom.xml
+++ b/eclipse-platform-parent/pom.xml
@@ -1000,5 +1000,36 @@
</plugins>
</build>
</profile>
+
+ <profile>
+ <id>coverage</id>
+ <properties>
+ <!-- Since we append output of various tests, write to a common folder besides tests -->
+ <!-- it's recommended to override that to an absolute valuein specific Hudson configurations
+ and Sonar integration -->
+ <jacoco.destFile>${project.basedir}/../target/jacoco.exec</jacoco.destFile>
+ <sonar.jacoco.reportPath>${jacoco.destFile}</sonar.jacoco.reportPath>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <version>0.7.6.201602180812</version>
+ <executions>
+ <execution>
+ <id>jacoco-agent</id>
+ <goals>
+ <goal>prepare-agent</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <append>true</append>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>

Back to the top