-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
versions:2.17.0:set updates grandchilds with wrong version #1103
Comments
we experience a similar issue with
updates versions across the whole project and not only one single module |
We also noticed the behavior that @svetlana-nikitina mentioned. Updating in a single module updates across the entire project. Version |
Thanks for reporting .... I would like to start to check again change: #1051 We can start by add attached example as IT I can try to work on it but in next week ... and end of July I will have 🌴 |
next example which can be ease added as IT. |
Hi,
I think there is a bug in versions:2.17.0:set when used in a maven reactor with different versions. We have
If one calls
mvn versions:2.17.0:set -DnewVersion=2
Not only the version in grandparent and parent gets updated from 1 to 2 but also the version in Grandchild gets updated from 100-SNAPSHOT to 2. Also the log messages contains
[INFO] Processing change of com.company.test:grandparent:1 -> 2
[INFO] Processing com.company.test:grandparent
[INFO] Updating project com.company.test:grandparent
[INFO] from version 1 to 2
[INFO]
[INFO] Processing com.company.test:parent
[INFO] Updating parent com.company.test:grandparent
[INFO] from version 1 to 2
[INFO]
[INFO] Processing com.company.test:grandchild
[INFO] Updating parent com.company.test:child
[INFO] from version 100-SNAPSHOT to 2
If one calls
mvn versions:2.16.2:set -DnewVersion=2
instead, only grandparent and parent gets updated from 1 to 2.
Attached you find a minimal set to reproduce the error
testVersionsSet.zip
The text was updated successfully, but these errors were encountered: