-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
  • 56,064
  • 19
  • 146
  • 246
Raul Santelices
  • 1,030
  • 11
  • 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
  • 15,711
  • 5
  • 56
  • 63