Skip to content

Commit 79ad1dc

Browse files
committed
set version
Signed-off-by: Gregor Zeitlinger <[email protected]>
1 parent 3ef37c8 commit 79ad1dc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/set-version.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ newVersion=$1
1212
grep "\<module\>" pom.xml | sed 's/<\/module>//g' | sed 's/.*<module>//g' | sed 's/.*\///g' | while IFS= read -r module
1313
do
1414
# set the version of the module
15-
# and update reference to this module into others modules
16-
mvn versions:set -DgenerateBackupPoms=false -DartifactId="$module" \
17-
-DnewVersion="$newVersion" -DupdateMatchingVersions=true
15+
mvn versions:set -DgenerateBackupPoms=false -DartifactId="$module" -DnewVersion="$newVersion"
1816
done
1917
# set the version of the aggregator pom
2018
mvn versions:set -DnewVersion="$newVersion" -DgenerateBackupPoms=false

0 commit comments

Comments
 (0)