I have seen the value (,${project.version}] in the version element of maven dependencies. Do these parenthesis and comma mean anything special that make it different from just ${project.version}?
Asked
Active
Viewed 3,033 times
-1
Josh Kelley
- 56,064
- 19
- 146
- 246
Raul Santelices
- 1,030
- 11
- 17
-
2http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+and+Conflict+Resolution#DependencyMediationandConflictResolution-DependencyVersionRanges – Konstantin V. Salikhov Oct 14 '14 at 16:40
-
Usually it is not neccesary to use version ranges – khmarbaise Oct 15 '14 at 12:19
1 Answers
1
Yes, that means the version of that dependency must fall in the range (,${project.version}]. Which means its version cannot be higher than ${project.version}.
See: http://mojo.codehaus.org/versions-maven-plugin/examples/resolve-ranges.html.
ryenus
- 15,711
- 5
- 56
- 63