You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by st...@apache.org on 2012/05/30 20:19:49 UTC
git commit: DELTASPIKE-181 add test coverage reporting
Updated Branches:
refs/heads/master d70de38be -> 750b593b2
DELTASPIKE-181 add test coverage reporting
Can be activated via -Pcoverage
Project: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/commit/750b593b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/tree/750b593b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/diff/750b593b
Branch: refs/heads/master
Commit: 750b593b2311659d42c8d2d519e9e21484f04fee
Parents: d70de38
Author: Mark Struberg <st...@apache.org>
Authored: Wed May 30 20:18:56 2012 +0200
Committer: Mark Struberg <st...@apache.org>
Committed: Wed May 30 20:18:56 2012 +0200
----------------------------------------------------------------------
deltaspike/parent/pom.xml | 45 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 45 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/blob/750b593b/deltaspike/parent/pom.xml
----------------------------------------------------------------------
diff --git a/deltaspike/parent/pom.xml b/deltaspike/parent/pom.xml
index a2da239..fcfaf8a 100644
--- a/deltaspike/parent/pom.xml
+++ b/deltaspike/parent/pom.xml
@@ -62,6 +62,49 @@
</repository>
</repositories>
</profile>
+
+ <profile>
+ <id>coverage</id>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.arquillian.extension</groupId>
+ <artifactId>arquillian-jacoco</artifactId>
+ <version>1.0.0.Alpha3</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.jacoco</groupId>
+ <artifactId>org.jacoco.core</artifactId>
+ <version>${jacoco.version}</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <version>${jacoco.version}</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>prepare-agent</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>report</id>
+ <phase>post-integration-test</phase>
+ <goals>
+ <goal>report</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
<issueManagement>
@@ -98,6 +141,8 @@
<maven.surefire.plugin.version>2.11</maven.surefire.plugin.version>
<hamcrest.version>1.3.RC2</hamcrest.version>
+
+ <jacoco.version>0.5.6.201201232323</jacoco.version>
</properties>
<modules>