From f740c9bef48e8fc2453dcfc2ad67ea53d5b9580a Mon Sep 17 00:00:00 2001 From: manukranthk Date: Tue, 30 Sep 2014 18:36:56 -0700 Subject: [PATCH] Including Jacoco plugin to get test coverage. --- pom.xml | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 3df27cd..dc543f6 100644 --- a/pom.xml +++ b/pom.xml @@ -471,8 +471,11 @@ ${surefire.testFailureIgnore} ${surefire.timeout} - ${hbase-surefire.argLine} + ${hbase-surefire.argLine} ${argLine} ${test.output.tofile} + + target/jacoco.exec + @@ -854,6 +857,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 + + + @@ -940,6 +969,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 @@ -1442,7 +1473,7 @@ org.apache.maven.plugins maven-surefire-plugin - ${hbase-surefire.cygwin-argline} + ${hbase-surefire.cygwin-argline} ${argLine} java.net.preferIPv4Stack -- 1.9.4