X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=buildSite.sh;h=7992e7448aa6458f687b65cc92633f60adfb0a0b;hb=d47f432813883f60953e379bcb43e84aa9305cfa;hp=17b94237528dd825d3543e2acad68f8ac5fdc007;hpb=370e2daf50aae5ffd29463506ac260ad17278b45;p=gpl%2Fargeo-slc.git diff --git a/buildSite.sh b/buildSite.sh index 17b942375..7992e7448 100755 --- a/buildSite.sh +++ b/buildSite.sh @@ -15,8 +15,10 @@ DATE=`date -u` EXIT_STATUS=0 export MAVEN_OPTS=-Xmx256m +export PATH=$PATH:/usr/local/bin + # 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 @@ -26,12 +28,12 @@ else fi # SDK -cd dist/org.argeo.slc.sdk -mvn deploy -cd ../.. +#cd dist/org.argeo.slc.sdk +#/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