From ca83cf8264e1d053f0b82f4e6d0757fc3d3d4afc Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Mon, 4 Mar 2013 18:17:15 +0000 Subject: [PATCH] Fix how to ignore module tests -- params changed git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1452428 13f79535-47bb-0310-9956-ffa450edef68 --- src/docbkx/developer.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/docbkx/developer.xml b/src/docbkx/developer.xml index 930da0eb014..00bf7a418f0 100644 --- a/src/docbkx/developer.xml +++ b/src/docbkx/developer.xml @@ -377,11 +377,11 @@ given the dependency tree). then you will have run the command from the ROOT HBASE DIRECTORY. This will run the tests in the other modules, unless you specify to skip the tests in that module. For instance, to skip the tests in the hbase-server module, you would run: - mvn clean test -Dskip-server-tests + mvn clean test -PskipServerTests from the top level directory to run all the tests in modules other than hbase-server. Note that you can specify to skip tests in multiple modules as well as just for a single module. For example, to skip the tests in hbase-server and hbase-common, you would run: - mvn clean test -Dskip-server-tests -Dskip-common-tests + mvn clean test -PskipServerTests -PskipCommonTests Also, keep in mind that if you are running tests in the hbase-server module you will need to apply the maven profiles discussed in to get the tests to run properly.