Le mardi 02 septembre 2008, Dennis Lundberg a écrit : > After trying this plugin on some more projects I have found that > NumericVersionComparator seems to do a better overall job than > MavenVersionComparator. See hsqldb in the example below for an odd > result using the default comparisonMethod. > > [INFO] The following dependency updates are available: > [INFO] commons-lang:commons-lang .......................... 2.1 -> 2.4 > [INFO] hsqldb:hsqldb ............................ 1.8.0.1 -> 1.7.2-rc1 > > Any chance of using "numeric" as the default method instead?
there is also ComparableVersion that has been integrated in maven-artifact 3.0-SNAPSHOT see http://svn.apache.org/viewvc/maven/artifact/trunk/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java and http://docs.codehaus.org/display/MAVEN/Versioning Regards Hervé --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]