-1

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}?

Josh Kelley
  • 52,449
  • 19
  • 137
  • 227
Raul Santelices
  • 920
  • 10
  • 17

1 Answers1

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