You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mo...@apache.org on 2013/08/12 21:43:05 UTC
git commit: added jacoco code coverage, enable with profile 'coverage'
Updated Branches:
refs/heads/code-coverage-jacoco 706d7ac39 -> 8cac63426
added jacoco code coverage, enable with profile 'coverage'
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/8cac6342
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/8cac6342
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/8cac6342
Branch: refs/heads/code-coverage-jacoco
Commit: 8cac6342619336599a1fa3672be8a8115f8e4aa1
Parents: 706d7ac
Author: Michael Mosmann <mo...@apache.org>
Authored: Mon Aug 12 21:42:38 2013 +0200
Committer: Michael Mosmann <mo...@apache.org>
Committed: Mon Aug 12 21:42:38 2013 +0200
----------------------------------------------------------------------
pom.xml | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/8cac6342/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 4e050ec..2890eca 100644
--- a/pom.xml
+++ b/pom.xml
@@ -136,6 +136,37 @@
</plugins>
</build>
</profile>
+
+ <profile>
+ <id>coverage</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <version>0.6.3.201306030806</version>
+
+ <executions>
+ <execution>
+ <id>jacoco-initialize</id>
+ <goals>
+ <goal>prepare-agent</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>jacoco-site</id>
+ <phase>package</phase>
+ <goals>
+ <goal>report</goal>
+ </goals>
+ </execution>
+ </executions>
+
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
</profiles>
<url>http://wicket.apache.org/${project.artifactId}</url>
<inceptionYear>2006</inceptionYear>