mojohaus / versions

Versions Maven Plugin
https://www.mojohaus.org/versions/versions-maven-plugin/
Apache License 2.0
337 stars 267 forks source link

Need dependency updates listed to be limited by a restriction on another dependency. #1031

Open workMserou opened 9 months ago

workMserou commented 9 months ago

My organization would like to use this tool, but we are not able to update our Java Version past 8 because we deploy to a highly regulated environment. Is there a way to use this tool where it won't list dependency updates that are not compatible with a certain limit to java version (like not list spring 6+, springboot 3+, hibernate 6+, etc.)? If not, is it possible to set, say, the spring version's upper limit and not see dependency updates that would depend on that version, and, if they are children of that version, aren't above the version recommended by the limited parent version.

I hope that's a clear request. Please ask any questions if it's not making sense.

slawekjaranowski commented 8 months ago

You can limi versions by rules: https://www.mojohaus.org/versions/versions-maven-plugin/version-rules.html