Merge remote-tracking branch 'origin/master'
diff --git a/tools/test/bin/onos-install b/tools/test/bin/onos-install
index 3448214..b3f84e4 100755
--- a/tools/test/bin/onos-install
+++ b/tools/test/bin/onos-install
@@ -39,8 +39,9 @@
     [ -z "$nostart" ] && sudo cp $ONOS_INSTALL_DIR/debian/onos.conf /etc/init/onos.conf
     echo 'export ONOS_OPTS=debug' > $ONOS_INSTALL_DIR/options
 
-    # Remove any previous ON.Lab bits from ~/.m2 repo
+    # Remove any previous ON.Lab bits from ~/.m2 repo and re-stage it.
     rm -fr ~/.m2/repository/org/onlab
+    cp -r $ONOS_INSTALL_DIR/$KARAF_DIST/system/org/onlab ~/.m2/repository/org/onlab
 
     # Drop log level for the console
     echo "log4j.logger.org.apache.sshd = WARN" \