moving to onos-1.7.0
Change-Id: Ia32fd9265ff35944e4745ad9c9578fa2244a67f0
diff --git a/apps/pom.xml b/apps/pom.xml
index 77974bf..4a51152 100644
--- a/apps/pom.xml
+++ b/apps/pom.xml
@@ -67,7 +67,7 @@
</snapshots>
<releases>
<enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
+ <updatePolicy>always</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</releases>
</repository>
@@ -77,7 +77,7 @@
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<enabled>true</enabled>
- <updatePolicy>never</updatePolicy>
+ <updatePolicy>always</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</snapshots>
</repository>
diff --git a/update-versions b/update-versions
index 159eb99..280f350 100755
--- a/update-versions
+++ b/update-versions
@@ -6,12 +6,16 @@
APP_VERSION=$1
ONOS_VERSION=$2
+APPS="aaa config igmp mcast olt vtn"
cd apps
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 -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
+for app in $APPS; do
+ cd $app
+ mvn -U versions:set -DallowSnapshots=true -DnewVersion=$APP_VERSION versions:commit
+ mvn -U versions:update-parent -DallowSnapshots=true -DparentVersion=[$ONOS_VERSION] versions:commit
+ mvn -U versions:update-property -Dproperty=onos.version -DnewVersion=[$ONOS_VERSION] -DallowSnapshots=true versions:commit
+ cd ..
+done