From 44e1b7b02b1b3950c81fb3f602bb2ae017deabdc Mon Sep 17 00:00:00 2001 From: olivier lamy Date: Tue, 26 Sep 2017 10:25:50 +1000 Subject: [PATCH] upgrade versions-maven-plugin version to 2.5 to avoid manual update of the bom file Signed-off-by: olivier lamy --- scripts/release-jetty.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/release-jetty.sh b/scripts/release-jetty.sh index 7cd0cfe2f9f..a9f7f5ea6b9 100755 --- a/scripts/release-jetty.sh +++ b/scripts/release-jetty.sh @@ -141,9 +141,10 @@ if proceedyn "Are you sure you want to release using above? (y/N)" n; then # This is equivalent to 'mvn release:prepare' if proceedyn "Update project.versions for $VER_RELEASE? (Y/n)" y; then - mvn org.codehaus.mojo:versions-maven-plugin:2.1:set \ + mvn org.codehaus.mojo:versions-maven-plugin:2.5:set \ -DoldVersion="$VER_CURRENT" \ - -DnewVersion="$VER_RELEASE" + -DnewVersion="$VER_RELEASE" \ + -DprocessAllModules=true fi if proceedyn "Commit $VER_RELEASE updates? (Y/n)" y; then git commit -a -m "Updating to version $VER_RELEASE"