You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ec...@apache.org on 2012/10/09 22:47:33 UTC

svn commit: r1396307 - /hbase/trunk/bin/hbase

Author: eclark
Date: Tue Oct  9 20:47:33 2012
New Revision: 1396307

URL: http://svn.apache.org/viewvc?rev=1396307&view=rev
Log:
HBASE-6961 In place scripts fail if mvn install hasn't been run

Modified:
    hbase/trunk/bin/hbase

Modified: hbase/trunk/bin/hbase
URL: http://svn.apache.org/viewvc/hbase/trunk/bin/hbase?rev=1396307&r1=1396306&r2=1396307&view=diff
==============================================================================
--- hbase/trunk/bin/hbase (original)
+++ hbase/trunk/bin/hbase Tue Oct  9 20:47:33 2012
@@ -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