Barrie Treloar wrote: >> I've had to comment out one assert: 2.0.1-xyz < 2.0.1. I think >> generally this is not the case. For example, >> the wiki guide to patching plugins states that you could patch a >> plugin and change it's version to 2.0-INTERNAL. >> In this case, 2.0 would be newer than 2.0-INTERNAL, which renders the >> wiki description invalid. In my sample >> implementation, 2.0.1-xyz is newer than 2.0.1. > > To quote BBWM page 60: "It is intended that the qualifier indicates a > version > prior to release" thus > 2.0.1-xyz < 2.0.1 > is correct. > The -INTERNAL was always meant to be a qualifier. > Thus: > 2.0-SNAPSHOT < 2.0-INTERNAL < 2.0
Except, that's not have the Maven 2.0.4 code treats them. It does: 2.0-INTERNAL < 2.0-SNAPSHOT < 2.0 i.e. the qualifiers are compared lexicographically, and 'I' < 'S'. Max. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]