#!/bin/sh

echo "*** Start Preflight ***"
echo "Removing $HOME/.m2/repository/org/torquebox/"
rm -rf $HOME/.m2/repository/org/torquebox

echo "Removing $HOME/.m2/repository/rubygems"
rm -rf $HOME/.m2/repository/rubygems

echo "Peforming cleaning"
$MAVEN_HOME/bin/mvn clean -Pinteg -Pdist

echo "*** Start Build ***"

echo "Peforming build"
$MAVEN_HOME/bin/mvn -U -s settings.xml install -Pinteg -Pdist -e


#!/bin/sh

echo "*** Start Preflight ***"
echo "Removing $HOME/.m2/repository/org/torquebox/"
rm -rf $HOME/.m2/repository/org/torquebox

echo "Removing $HOME/.m2/repository/rubygems"
rm -rf $HOME/.m2/repository/rubygems

echo "Peforming cleaning"
$MAVEN_HOME/bin/mvn clean -Pinteg -Pdist

echo "*** Start Build ***"

echo "Peforming build"
$MAVEN_HOME/bin/mvn -U -s build-support/settings.xml install -Pinteg -Pdist -e


Adjust for new settings.xml location.
Adjust for new settings.xml location.
