Thomas Vachuska

Fixing a defect in onos-install, which polluted the ~/.m2/repository.

Change-Id: I4fe928831404411292f6879f059aae49b7bcfcf9
......@@ -49,10 +49,8 @@ ssh $remote "
# Setup correct user to run onos-service
echo 'export ONOS_USER="${ONOS_USER:-sdn}"' >> $ONOS_INSTALL_DIR/options
# Remove any previous ON.Lab bits from ~/.m2 repo and re-stage it.
# Remove any previous ON.Lab bits from ~/.m2 repo.
rm -fr ~/.m2/repository/org/onosproject
mkdir -p ~/.m2/repository/org
cp -r $ONOS_INSTALL_DIR/$KARAF_DIST/system/org/onosproject ~/.m2/repository/org
[ ! -z "$mvn_settings" ] && cp /tmp/settings.xml ~/.m2/settings.xml
......