maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé BOUTEMY <herve.bout...@free.fr>
Subject Re: [VOTE] release versions-maven-plugin 1.0-alpha-1
Date Fri, 05 Sep 2008 19:59:11 GMT
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message