Hi,
the ITs of the versions-maven-plugin employ version ranges like
"[,3.0-!)". The interesting question is how something like "3.0-!"
should compare to usual version numbers. For instance, we currently have
Maven 2.x:
3.0-! < 3.0-SNAPSHOT < 3.0
Maven 3.x, cf. [0]:
3.0-SNAPSHOT < 3.0 < 3.0-!
As you see, there's some disagreement about the ordering which can
affect the result of version ranges that use "3.0-!" as a boundary.
I originally thought those strange version numbers ending in "-!" would
be limited to the plugin ITs but while talking with Stephen he mentioned
he picked this syntax from some other projects.
So, I'm not sure how to handle this discrepancy in version ordering. Has
anybody any insight how common those -! versions really are in wild
projects? Do we need to extend the new version comparison to handle
qualifiers like "!" and some unknown set of similar ones like 2.x does
or is this an acceptable change in behavior?
Benjamin
[0] http://docs.codehaus.org/display/MAVEN/Versioning
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]