Repository: hbase Updated Branches: refs/heads/branch-1.0 f7c4d9535 -> 0ef01b987
HBASE-12709 [mvn] Add unit test excludes command line flag to the build Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/0ef01b98 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/0ef01b98 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/0ef01b98 Branch: refs/heads/branch-1.0 Commit: 0ef01b9877ff3191f74e831fa9d057745e5afaa1 Parents: f7c4d95 Author: Jonathan M Hsieh <[email protected]> Authored: Thu Dec 18 06:42:21 2014 -0800 Committer: Jonathan M Hsieh <[email protected]> Committed: Mon Dec 22 17:11:25 2014 -0800 ---------------------------------------------------------------------- pom.xml | 8 ++++++++ 1 file changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/0ef01b98/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 89987fa..406aca2 100644 --- a/pom.xml +++ b/pom.xml @@ -517,6 +517,13 @@ <systemPropertyVariables> <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile> </systemPropertyVariables> + + <excludes> + <!-- users can add -D option to skip particular test classes + ex: mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java + --> + <exclude>${test.exclude.pattern}</exclude> + </excludes> </configuration> <executions> <execution> @@ -1054,6 +1061,7 @@ <surefire.testFailureIgnore>false</surefire.testFailureIgnore> <test.output.tofile>true</test.output.tofile> <surefire.timeout>900</surefire.timeout> + <test.exclude.pattern></test.exclude.pattern> <hbase-surefire.argLine>-enableassertions -XX:MaxDirectMemorySize=1G -Xmx1900m -XX:MaxPermSize=256m -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true
