Explici path to mvn
authorMathieu Baudier <mbaudier@argeo.org>
Fri, 1 Jan 2010 14:33:03 +0000 (14:33 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Fri, 1 Jan 2010 14:33:03 +0000 (14:33 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@3249 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

buildSite.sh

index 17b94237528dd825d3543e2acad68f8ac5fdc007..ebe8b9dda6b538df6d0f6375696b3f83407e8793 100755 (executable)
@@ -16,7 +16,7 @@ EXIT_STATUS=0
 
 export MAVEN_OPTS=-Xmx256m
 # BUILD
-mvn -up --fail-at-end deploy $PROFILES 2>&1 | tee deploy.log
+/usr/local/bin/mvn -up --fail-at-end deploy $PROFILES 2>&1 | tee deploy.log
 EXIT_STATUS=$PIPESTATUS
 if [ $EXIT_STATUS -eq 0 ]
 then
@@ -27,11 +27,11 @@ fi
 
 # SDK
 cd dist/org.argeo.slc.sdk
-mvn deploy
+/usr/local/bin/mvn deploy
 cd ../..
 
 # SITE
-mvn -up --fail-at-end site-deploy $PROFILES 2>&1 | tee siteGeneration.log
+/usr/local/bin/mvn -up --fail-at-end site-deploy $PROFILES 2>&1 | tee siteGeneration.log
 if [ $PIPESTATUS -eq 0 ]
 then
        echo No need to send email for successful site generation