updating to onos 1.7.0-SNAPSHOT
Change-Id: I8a9a2281d4d0ab4f1226fb449d675a82ee74290c
diff --git a/update-versions b/update-versions
index 9d6e053..159eb99 100755
--- a/update-versions
+++ b/update-versions
@@ -9,8 +9,9 @@
cd apps
-mvn versions:set -DnewVersion=$APP_VERSION versions:commit
-git submodule foreach mvn versions:set -DnewVersion=$APP_VERSION versions:commit
+mvn -U versions:set -DallowSnapshots=true -DnewVersion=$APP_VERSION versions:commit
+git submodule foreach mvn -U versions:set -DallowSnapshots=true -DnewVersion=$APP_VERSION versions:commit
-git submodule foreach mvn versions:update-parent -DparentVersion=[$ONOS_VERSION]
+git submodule foreach mvn -U versions:update-parent -DallowSnapshots=true -DparentVersion=[$ONOS_VERSION] versions:commit
+git submodule foreach mvn -U versions:update-property -Dproperty=onos.version -DnewVersion=[$ONOS_VERSION] -DallowSnapshots=true versions:commit