Fix version of the onos-build-conf-artifact
Change-Id: Ib4dc172a24772dc20da5e0e08fef0e6c47ad5db8
diff --git a/tools/build/onos-change-version b/tools/build/onos-change-version
index 0222921..97b0967 100755
--- a/tools/build/onos-change-version
+++ b/tools/build/onos-change-version
@@ -45,6 +45,9 @@
done
sed -i "" -E "s/-DarchetypeVersion=[^\"]*/-DarchetypeVersion=$NEW_VERSION/g" $ONOS_ROOT/tools/test/bin/onos-archetypes-test
+# Fix the onos-build-conf version
+sed -i "" -E "s/\<onos-build-conf.version\>.*\<.onos-build-conf.version\>/\<onos-build-conf.version\>$NEW_VERSION\<\/onos-build-conf.version\>/g" $ONOS_ROOT/lib/pom.xml
+
# Version the BUCK artifacts
sed -i "" -E "s/ONOS_VERSION.*/ONOS_VERSION = '$NEW_VERSION'/" onos.defs
sed -i "" -E "s/ONOS_VERSION=.*/ONOS_VERSION='$NEW_VERSION'/" tools/build/onos-prepare-sonar