maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Gier <>
Subject Re: Handling of unrecognised version qualifiers
Date Tue, 07 Jun 2011 20:29:46 GMT
On 05/27/2011 11:02 AM, Paul Gier wrote:
> Maven 3 currently treats unrecognised version qualifiers as newer
> releases than the GA release.  For example:
> 1.0 is older than 1.0-xyz
> It also looks like this was reversed at some point, since there is a
> test case commented out on line 117 that expects the opposite behaviour
> [1].  So is the current behaviour correct?  Or does the commented test
> case mean that this ordering will be reversed at some point in the future?
> My personal preference is that we replace the commented test case with
> one testing for the reverse order, so that we prevent this from changing
> in the future.  So all unrecognised qualifiers are treated as patch
> releases, and considered newer than the GA release.
> Thanks!
> [1]

Based on this discussion, I add a couple of checks in the unit test to
verify the current behaviour.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message