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 2,636 times
-1
Josh Kelley
- 52,449
- 19
- 137
- 227
Raul Santelices
- 920
- 10
- 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
- 13,960
- 4
- 53
- 61