Brian O'Connor

Updates to versions across project

Change-Id: I3593d5d289d3149bea9644c7c09fa1ca753abfca
......@@ -31,7 +31,6 @@
<description>SONA Openstack Switching applications</description>
<properties>
<onos.version>1.4.0-SNAPSHOT</onos.version>
<onos.app.name>org.onosproject.openstackswitching</onos.app.name>
<web.context>/onos/openstackswitching</web.context>
<api.version>1.0.0</api.version>
......
......@@ -77,6 +77,7 @@
<onos-build-conf.version>1.1</onos-build-conf.version>
<netty4.version>4.0.23.Final</netty4.version>
<copycat.version>0.5.0.onos</copycat.version>
<!-- FIXME update to release version before Emu release -->
<openflowj.version>0.9.2.onos-SNAPSHOT</openflowj.version>
<karaf.version>3.0.3</karaf.version>
<jersey.version>1.19</jersey.version>
......@@ -88,7 +89,8 @@
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<!-- FIXME remove before Emu release -->
<repositories>
<repository>
<id>snapshots</id>
......
......@@ -33,7 +33,6 @@
<url>http://onosproject.org</url>
<properties>
<onos.version>1.4.0-SNAPSHOT</onos.version>
<onos.app.name>org.onosproject.netcfghostprovider</onos.app.name>
<onos.app.origin>ON.Lab</onos.app.origin>
</properties>
......@@ -42,13 +41,11 @@
<dependency>
<groupId>org.onosproject</groupId>
<artifactId>onos-api</artifactId>
<version>${onos.version}</version>
</dependency>
<dependency>
<groupId>org.onosproject</groupId>
<artifactId>onlab-osgi</artifactId>
<version>${onos.version}</version>
</dependency>
<dependency>
......@@ -59,14 +56,6 @@
</dependency>
<dependency>
<groupId>org.onosproject</groupId>
<artifactId>onos-api</artifactId>
<version>${onos.version}</version>
<scope>test</scope>
<classifier>tests</classifier>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<scope>test</scope>
......
......@@ -41,7 +41,7 @@ sed -i "" -E "s/Version\.version\(\"[^\"]*\"\)/Version.version(\"$NEW_VERSION\")
# Augment the version in archetypes tree.
mvn -f tools/package/archetypes/pom.xml versions:set -DnewVersion=$NEW_VERSION versions:commit
for atype in api bundle cli ui; do
for atype in api bundle cli ui uitab uitopo; do
pom="tools/package/archetypes/$atype/src/main/resources/archetype-resources/pom.xml"
sed -i "" -E "1,/<onos.version>/s/<onos.version>[^<]*</<onos.version>$NEW_VERSION</g" $pom
done
......@@ -51,6 +51,3 @@ sed -i "" -E "s/-DarchetypeVersion=[^\"]*/-DarchetypeVersion=$NEW_VERSION/g" $ON
perl -i -0pe "s#<artifactId>cord-gui<.*\n.*version>#<artifactId>cord-gui</artifactId>\n <version>$NEW_VERSION</version>#" $ONOS_ROOT/apps/demo/cord-gui/pom.xml
sed -i "" -E "s#demo/cord-gui/target/cord-gui-.*\.war#demo/cord-gui/target/cord-gui-$NEW_VERSION.war#" $ONOS_ROOT/apps/demo/cord-gui/src/scripts/pullwar.sh
sed -i "" -E "s#CORD=./cord-gui-.*\.war#CORD=./cord-gui-$NEW_VERSION.war#" $ONOS_ROOT/apps/demo/cord-gui/src/scripts/run.me
# Augment the acl app
sed -i "" -E "s/<onos.version>[^<]*</<onos.version>$NEW_VERSION</g" $ONOS_ROOT/apps/acl/pom.xml
......
......@@ -22,12 +22,13 @@
<parent>
<groupId>org.onosproject</groupId>
<artifactId>onos</artifactId>
<version>1.4.0-SNAPSHOT</version>
<relativePath>../../../pom.xml</relativePath>
<artifactId>onos-base</artifactId>
<version>1</version>
</parent>
<groupId>org.onosproject</groupId>
<artifactId>onos-assembly</artifactId>
<version>1.0</version>
<packaging>pom</packaging>
<description>ONOS Apache Karaf assembly definitions</description>
......
......@@ -25,7 +25,7 @@
},
"version": {
"type": "string",
"example": "1.4.0.SNAPSHOT"
"example": "1.2.3"
},
"description": {
"type": "string",
......@@ -48,7 +48,7 @@
},
"featuresRepo": {
"type": "string",
"example": "mvn:org.onosproject/onos-app-cip/1.4.0-SNAPSHOT/xml/features"
"example": "mvn:org.onosproject/onos-app-cip/1.2.3/xml/features"
},
"features": {
"type": "array",
......
......@@ -25,7 +25,7 @@
},
"version": {
"type": "string",
"example": "1.4.0.SNAPSHOT"
"example": "1.2.3"
},
"description": {
"type": "string",
......@@ -48,7 +48,7 @@
},
"featuresRepo": {
"type": "string",
"example": "mvn:org.onosproject/onos-app-cip/1.4.0-SNAPSHOT/xml/features"
"example": "mvn:org.onosproject/onos-app-cip/1.2.3/xml/features"
},
"features": {
"type": "array",
......
......@@ -38,7 +38,7 @@
},
"version": {
"type": "string",
"example": "1.4.0.SNAPSHOT"
"example": "1.2.3"
},
"description": {
"type": "string",
......@@ -61,7 +61,7 @@
},
"featuresRepo": {
"type": "string",
"example": "mvn:org.onosproject/onos-app-cip/1.4.0-SNAPSHOT/xml/features"
"example": "mvn:org.onosproject/onos-app-cip/1.2.3/xml/features"
},
"features": {
"type": "array",
......