-
Notifications
You must be signed in to change notification settings - Fork 193
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
[tycho-version-plugin] Since 4.0.5 non-matching version of child modules are forcefully overwritten #3808
Comments
@sratz do you like to add this as a testcases here and propose a fix: https://github.com/eclipse-tycho/tycho/tree/main/tycho-its/projects/tycho-version-plugin/set-version |
Yes, however I am trying to put my head around the intention of #3341 / #3343: Am I understanding it right that
Why was this needed? My gut feeling tells me that if a child module does not link to a |
Well the problem is that the So basically, everything that is in the reactor should be considered as maven is considering that as well, there is no need for a direct parent/child relation. |
Fix regression introduced in eclipse-tycho#3343. Also for the child modules the version of the change must match, so that it does not blindly overwrite the versions of the submodules. Fixes eclipse-tycho#3808.
tycho-version-plugin:set-version
states:Sets the version of the current project and child projects with the same version, and updates references as necessary.
Consider the following structue:
Execute:
set-version -DnewVersion=2.0.1
Result with Tycho <= 4.0.4:
Result with Tycho >= 4.0.5:
This is incorrect as the with the same version contract is violated and also all the mis-matching versions of 1.0.0 are forcefully updated to 2.0.1.
This is a side-effect of #3341 / #3343
The text was updated successfully, but these errors were encountered: