Remove references to the lib/pom.xml file
Change-Id: I979a9272988defa6500cce8d206aa94f9c2b5ddc
diff --git a/tools/build/onos-change-version b/tools/build/onos-change-version
index 7c72905..f9e4200 100755
--- a/tools/build/onos-change-version
+++ b/tools/build/onos-change-version
@@ -15,9 +15,6 @@
cd $ONOS_ROOT
-# Augment the version of the main pom and the modules nested underneath.
-mvn -B -f lib/pom.xml versions:set -DnewVersion=$NEW_VERSION versions:commit
-
# Augment the version in envDefaults, onos.py and archetypes test
sed -i".VERBACK" -E "s/ONOS_VERSION:-[^$]*/ONOS_VERSION:-$NEW_VERSION_SHORT./" $ONOS_ROOT/tools/build/envDefaults
sed -i".VERBACK" -E "s/features\/.*\/xml/features\/$NEW_VERSION\/xml/" $ONOS_ROOT/tools/dev/mininet/onos.py
@@ -36,9 +33,6 @@
done
sed -i".VERBACK" -E "s/-DarchetypeVersion=[^\"]*/-DarchetypeVersion=$NEW_VERSION/g" $ONOS_ROOT/tools/test/bin/onos-archetypes-test
-# Fix the onos-build-conf version
-sed -i".VERBACK" -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 bazel artifacts
sed -i".VERBACK" -E "s/ONOS_VERSION.*/ONOS_VERSION = \"$NEW_VERSION\"/" tools/build/bazel/variables.bzl