]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - buildSite.sh
Deal with spaces in JVM paths
[gpl/argeo-slc.git] / buildSite.sh
index b84173dea55813dc4cde858c20f6cdb07bf5704c..c4011e57dbdc06a48c1a5edda86a23de1709da6e 100755 (executable)
@@ -14,8 +14,9 @@ HOSTNAME=`hostname -f`
 DATE=`date -u`
 EXIT_STATUS=0
 
+export MAVEN_OPTS=-Xmx256m
 # BUILD
-mvn --fail-at-end deploy $PROFILES 2>&1 | tee deploy.log
+mvn -up --fail-at-end deploy $PROFILES 2>&1 | tee deploy.log
 EXIT_STATUS=$PIPESTATUS
 if [ $EXIT_STATUS -eq 0 ]
 then
@@ -25,7 +26,7 @@ else
 fi
 
 # SITE
-mvn --fail-at-end site-deploy $PROFILES 2>&1 | tee siteGeneration.log
+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