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/11/12 20:40:59 UTC

git commit: added jacoco code coverage, enable with profile 'coverage'

Updated Branches:
  refs/heads/master 71c4b71bc -> 1d79e37ae


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/1d79e37a
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/1d79e37a
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/1d79e37a

Branch: refs/heads/master
Commit: 1d79e37ae1a4cc82e57cd1ac703ff306ab8662bb
Parents: 71c4b71
Author: Michael Mosmann <mo...@apache.org>
Authored: Mon Aug 12 21:42:38 2013 +0200
Committer: Michael Mosmann <mo...@apache.org>
Committed: Tue Nov 12 20:15:27 2013 +0100

----------------------------------------------------------------------
 pom.xml | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/1d79e37a/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index f13bba0..271dfea 100644
--- a/pom.xml
+++ b/pom.xml
@@ -141,6 +141,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>