Change-Id: I60fa5e6fa761d220045c8f89cb6ff6414731918f
Signed-off-by: Carsten Lund <lund@research.att.com>
VERSION=$release_version
+echo Changing POM version to $VERSION
+
## handle POM files with no parent
for file in $(find . -name pom.xml); do
if [ "$(grep -c '<parent>' $file)" == "0" ]; then
+ echo Updating version in $file to $VERSION
(
cd $(dirname $file)
${MVN} versions:set versions:commit \
-DnewVersion=$VERSION \
-DprocessDependencies=false
)
+ grep version $file
+ echo DONE $file
fi
done