serhii.net

In the middle of the desert you can say anything you want

04 Dec 2020

Day 704

maven version ranges

(Also used in input of some other internal tools) They are: 1

Range	Meaning
1.0	x >= 1.0 * The default Maven meaning for 1.0 is everything (,) but with 1.0 recommended. Obviously this doesn't work for enforcing versions here, so it has been redefined as a minimum version.
(,1.0]	x <= 1.0
(,1.0)	x < 1.0
[1.0]	x == 1.0
[1.0,)	x >= 1.0
(1.0,)	x > 1.0
(1.0,2.0)	1.0 < x < 2.0
[1.0,2.0]	1.0 <= x <= 2.0
(,1.0],[1.2,)	x <= 1.0 or x >= 1.2. Multiple sets are comma-separated
(,1.1),(1.1,)	x != 1.1

  1. Apache Maven Enforcer Built-In Rules – Version Range Specification ↩︎

Nel mezzo del deserto posso dire tutto quello che voglio.