last precisions before I go to work... :) Le mercredi 16 septembre 2009, Stephen Connolly a écrit : > > Maven 2.x: > > > > 3.0-! < 3.0-SNAPSHOT < 3.0 > > > > Maven 3.x, cf. [0]: > > > > 3.0-SNAPSHOT < 3.0 < 3.0-! > > personally, I have no strong attachment to the range ordering... > > but does this imply that 3.0 is now less that 3.0-classifier no: it depends on classifier value (case insensitive) to support values and meaning found in real life - "shapshot": before anything - "a", "b", "m", "alpha", "beta", "milestone", "rc", "cr": before the release - "ga", "final": equals the release - "sp": after the release - any other classifier is after "sp"
the code is here [1] (copied in Mercury too, and in maven-artifact...), with unit-test in [2] showing a whole suite of classifier ordering Hervé > > that would seem to be a big regression / breaking change from 2.x > > -Stephen [0] http://docs.codehaus.org/display/MAVEN/Versioning [1] http://svn.apache.org/viewvc/maven/maven-3/trunk/maven- compat/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java?view=markup [2] http://svn.apache.org/viewvc/maven/maven-3/trunk/maven- compat/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java?view=markup --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
