Thomas Vachuska
Committed by Gerrit Code Review

Adding REST archetype to onos-change-version.

Change-Id: I2c89b4868b1d09716841c307c6f45e8786e3195d
...@@ -41,7 +41,7 @@ sed -i "" -E "s/Version\.version\(\"[^\"]*\"\)/Version.version(\"$NEW_VERSION\") ...@@ -41,7 +41,7 @@ sed -i "" -E "s/Version\.version\(\"[^\"]*\"\)/Version.version(\"$NEW_VERSION\")
41 41
42 # Augment the version in archetypes tree. 42 # Augment the version in archetypes tree.
43 mvn -f tools/package/archetypes/pom.xml versions:set -DnewVersion=$NEW_VERSION versions:commit 43 mvn -f tools/package/archetypes/pom.xml versions:set -DnewVersion=$NEW_VERSION versions:commit
44 -for atype in api bundle cli ui uitab uitopo; do 44 +for atype in api bundle cli rest ui uitab uitopo; do
45 pom="tools/package/archetypes/$atype/src/main/resources/archetype-resources/pom.xml" 45 pom="tools/package/archetypes/$atype/src/main/resources/archetype-resources/pom.xml"
46 sed -i "" -E "1,/<onos.version>/s/<onos.version>[^<]*</<onos.version>$NEW_VERSION</g" $pom 46 sed -i "" -E "1,/<onos.version>/s/<onos.version>[^<]*</<onos.version>$NEW_VERSION</g" $pom
47 done 47 done
......