Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael Istria2018-12-06 08:07:54 -0500
committerMickael Istria2018-12-29 05:44:08 -0500
commit445d44156617ca5dca6db808bc432ddf964d7e11 (patch)
treebf477d1f454d2d52632e48663df8f6e6eb4cd23f
parent37b4934bdfd8f999dc2d7241ae2ecad2ded35e20 (diff)
downloadm2e-core-445d44156617ca5dca6db808bc432ddf964d7e11.tar.gz
m2e-core-445d44156617ca5dca6db808bc432ddf964d7e11.tar.xz
m2e-core-445d44156617ca5dca6db808bc432ddf964d7e11.zip
Bug 542465 - generate jacoco.exec coverage reports
Change-Id: I82f2b693529a124f08889aa31c88fa75263004eb Signed-off-by: Mickael Istria <mistria@redhat.com>
-rw-r--r--pom.xml26
1 files changed, 20 insertions, 6 deletions
diff --git a/pom.xml b/pom.xml
index 280d46aa..f446c319 100644
--- a/pom.xml
+++ b/pom.xml
@@ -45,12 +45,9 @@
<eclipse-repo.url>http://download.eclipse.org/eclipse/updates/4.8/</eclipse-repo.url>
<eclipse-simrel.url>http://download.eclipse.org/releases/${eclipse.stream}</eclipse-simrel.url>
- <tycho.test.jvmArgs>-Xmx800m</tycho.test.jvmArgs>
+ <tycho.testArgLine>-Xmx800m</tycho.testArgLine>
<tycho.surefire.timeout>7200</tycho.surefire.timeout>
-
- <!-- this specific version is required to work with sonar.eclipse.org, and there is no
- other way to enforce it over latest one -->
- <sonar-maven-plugin.version>3.3.0.603</sonar-maven-plugin.version>
+ <jacoco.destFile>../target/jacoco.exec</jacoco.destFile>
</properties>
<organization>
@@ -196,6 +193,24 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <version>0.8.2</version>
+ <executions>
+ <execution>
+ <goals><goal>prepare-agent</goal></goals>
+ </execution>
+ </executions>
+ <configuration>
+ <append>true</append>
+ <includes>
+ <include>org.eclipse.m2e*</include>
+ <include>org.apache.maven*</include>
+ <include>org.eclipse.aether*</include>
+ </includes>
+ </configuration>
+ </plugin>
</plugins>
<pluginManagement>
@@ -217,7 +232,6 @@
<includes>
<include>**/*Test.java</include>
</includes>
- <argLine>${tycho.test.jvmArgs}</argLine>
<forkedProcessTimeoutInSeconds>${tycho.surefire.timeout}</forkedProcessTimeoutInSeconds>
</configuration>
</plugin>

Back to the top