Skip to content

Commit

Permalink
Merge pull request eclipse-birt#311 from serguei-actuate/master
Browse files Browse the repository at this point in the history
Updated jacoco configuration
  • Loading branch information
greatyan committed Jun 6, 2016
2 parents e565017 + dabcd14 commit 3f761de
Showing 1 changed file with 26 additions and 12 deletions.
38 changes: 26 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@
</plugin>
</plugins>
</pluginManagement>

<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
Expand Down Expand Up @@ -307,6 +308,7 @@
</environments>
</configuration>
</plugin>

<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
Expand Down Expand Up @@ -397,33 +399,44 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.4.201502262128</version>
<version>0.7.6.201602180812</version>
<executions>
<execution>
<id>prepare-integration-tests</id>
<phase>pre-integration-test</phase>
<id>jacoco-prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>jacoco-prepare-agent-integration</id>
<goals>
<goal>prepare-agent-integration</goal>
</goals>
<configuration>
<append>true</append>
<output>file</output>
<destFile>${basedir}/target/coverage/jacoco-integration.exec</destFile>
</configuration>
</execution>
<execution>
<id>report-integration</id>
<phase>post-integration-test</phase>
<id>jacoco-report</id>
<goals>
<goal>report</goal>
</goals>
</execution>
<execution>
<id>jacoco-integration</id>
<goals>
<goal>report-integration</goal>
</goals>
</execution>
<execution>
<id>jacoco-check</id>
<goals>
<goal>check</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/coverage/reports</outputDirectory>
<dataFile>${basedir}/target/coverage/jacoco-integration.exec</dataFile>
<rules/>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
Expand Down Expand Up @@ -454,6 +467,7 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
Expand Down

0 comments on commit 3f761de

Please sign in to comment.