summaryrefslogtreecommitdiffstats
path: root/jjb/include-update-pom-versions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/include-update-pom-versions.sh')
-rw-r--r--jjb/include-update-pom-versions.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/jjb/include-update-pom-versions.sh b/jjb/include-update-pom-versions.sh
index 0e269a2af..db1dd26cc 100644
--- a/jjb/include-update-pom-versions.sh
+++ b/jjb/include-update-pom-versions.sh
@@ -12,15 +12,20 @@ source ./version.properties
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