Author: jfrederic.clere(a)jboss.com
Date: 2012-04-12 05:46:58 -0400 (Thu, 12 Apr 2012)
New Revision: 2944
Modified:
trunk/build/unix/buildtest.mod_cluster.sh
Log:
Use the maven define by $MVN_HOME.
Modified: trunk/build/unix/buildtest.mod_cluster.sh
===================================================================
--- trunk/build/unix/buildtest.mod_cluster.sh 2012-04-12 07:26:55 UTC (rev 2943)
+++ trunk/build/unix/buildtest.mod_cluster.sh 2012-04-12 09:46:58 UTC (rev 2944)
@@ -92,6 +92,14 @@
exit 1
fi
fail=false
+
+ # make sure we use the right maven
+ if [ "x${MVN_HOME}" = "x" ]; then
+ echo "Using mvn from ${PATH}"
+ else
+ PATH=${MVN_HOME}/bin:${PATH}
+ export PATH
+ fi
mvn install
if [ $? -ne 0 ]; then
echo "Some test have failed"
Show replies by date