You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Koritako Alana <ko...@gmail.com> on 2019/05/02 11:08:52 UTC

How to change Maven dependency version range behavior

Hi there,

I have come to the conclusion that what I need in my life is for Maven
to resolve dependency ranges like: [1.2.0,2.0.0) to effectively mean
[1.2.0]. Specifically when deciding which version of a direct
dependency to use.

How would I go about changing Maven's behavior for my project? Would I
be able to do this by writing a special type of plugin (extension
maybe)?

Basically, at some point Maven gets a list of versions inside the
version range, and has to pick one. Where exactly is that happening
and can I override that choice?

Thanks
K

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org