Maven 学习笔记 版本范围

RangeMeaning
(,1.0]x <= 1.0
1.0It generally means 1.0 or a later version, if 1.0 is not available.Various Maven plug-ins may interpret this differently, so it is safer to use one of the other, more specific options.
[1.0]Exactly 1.0
[1.2,1.3]1.2 <= x <= 1.3
[1.0,2.0)1.0 <= x < 2.0
[1.5,)x >= 1.5
(,1.0],[1.2,)x <= 1.0 or x >= 1.2. Multiple sets are separated by a comma.
(,1.1),(1.1,)This excludes 1.1 if it is known not to work in combination with the library.
——————

参考资料

maven-version-numbers
maven指定版本号范围写法

已标记关键词 清除标记
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页