Skip to content
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

display-dependency-updates should fallback to others scopes if there is no new version #553

Closed
sfragata opened this issue Feb 2, 2022 · 1 comment

Comments

@sfragata
Copy link

sfragata commented Feb 2, 2022

The 3 parameters allowIncrementalUpdates, allowMajorUpdates and allowMinorUpdates are mutually exclusive.
if I enable major updates (allowMajorUpdates=true)and there is no one it should show me the minor or the incremental updates, if allowMinorUpdates=true and allowIncrementalUpdates=true, The same will be if I enable allowMinorUpdates and there is no new version for this scope it should propose incremental one if allowIncrementalUpdates=true

@sfragata
Copy link
Author

After comment of @ajarmoniuk
Resolved by [#283](https://github.com/mojohaus/versions-maven-plugin/issues/283)
and
The goals will not fall back to other scopes if no version is found -- that would be quite unexpected for most users. However, [#283](https://github.com/mojohaus/versions-maven-plugin/issues/283) has clarified the semantics of those switches, which, as you noticed, aren't really independent.

I'm gonna close it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant