From 4d6f61bab869c908aac988371568032efafd7d8c Mon Sep 17 00:00:00 2001 From: eclark Date: Tue, 9 Oct 2012 20:47:33 +0000 Subject: [PATCH] HBASE-6961 In place scripts fail if mvn install hasn't been run git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1396307 13f79535-47bb-0310-9956-ffa450edef68 --- bin/hbase | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/hbase b/bin/hbase index d0dbf85728a..641765e4352 100755 --- a/bin/hbase +++ b/bin/hbase @@ -153,7 +153,7 @@ add_maven_deps_to_classpath() { f="${HBASE_HOME}/target/cached_classpath.txt" if [ ! -f "${f}" ] then - ${MVN} -f "${HBASE_HOME}/pom.xml" dependency:build-classpath -Dmdep.outputFile="${f}" &> /dev/null + ${MVN} -f "${HBASE_HOME}/pom.xml" package dependency:build-classpath -DskipTests -Dmdep.outputFile="${f}" &> /dev/null fi CLASSPATH=${CLASSPATH}:`cat "${f}"` } @@ -179,9 +179,9 @@ add_maven_test_classes_to_classpath(){ #Add the development env class path stuff if $in_dev_env; then - add_maven_deps_to_classpath add_maven_main_classes_to_classpath add_maven_test_classes_to_classpath + add_maven_deps_to_classpath fi #add the hbase jars for each module