Return-Path: X-Original-To: apmail-hbase-commits-archive@www.apache.org Delivered-To: apmail-hbase-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2405917415 for ; Sun, 5 Oct 2014 19:42:51 +0000 (UTC) Received: (qmail 98537 invoked by uid 500); 5 Oct 2014 19:42:51 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 98492 invoked by uid 500); 5 Oct 2014 19:42:51 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 98483 invoked by uid 99); 5 Oct 2014 19:42:50 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Oct 2014 19:42:50 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 97B5081A355; Sun, 5 Oct 2014 19:42:50 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: apurtell@apache.org To: commits@hbase.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: git commit: HBASE-8808 Use Jacoco to generate Unit Test coverage reports (Manukranth) Date: Sun, 5 Oct 2014 19:42:50 +0000 (UTC) Repository: hbase Updated Branches: refs/heads/0.98 de27e18eb -> 2e83801c7 HBASE-8808 Use Jacoco to generate Unit Test coverage reports (Manukranth) Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/2e83801c Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/2e83801c Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/2e83801c Branch: refs/heads/0.98 Commit: 2e83801c743cf5f03618ad8f09dc2548ce0d1a40 Parents: de27e18 Author: stack Authored: Fri Oct 3 21:51:49 2014 -0700 Committer: Andrew Purtell Committed: Sun Oct 5 12:42:05 2014 -0700 ---------------------------------------------------------------------- pom.xml | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/2e83801c/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index ee5ca59..42be9f7 100644 --- a/pom.xml +++ b/pom.xml @@ -510,8 +510,11 @@ using method parallelization class ! --> ${surefire.testFailureIgnore} ${surefire.timeout} - ${hbase-surefire.argLine} + ${hbase-surefire.argLine} ${argLine} ${test.output.tofile} + + target/jacoco.exec + @@ -872,6 +875,32 @@ ${basedir}/src/main/site/site.vm + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + + prepare-agent + + prepare-agent + + + + report + prepare-package + + report + + + + + ${hbase.skip-jacoco} + + **/generated/**/*.class + + + @@ -961,6 +990,8 @@ -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true "-Djava.library.path=${hadoop.library.path};${java.library.path}" + true + 0.6.2.201302030002 @@ -1468,7 +1499,7 @@ org.apache.maven.plugins maven-surefire-plugin - ${hbase-surefire.cygwin-argline} + ${hbase-surefire.cygwin-argline} ${argLine} java.net.preferIPv4Stack