The version:display-dependency-updates does not return the correct newer 
versions when version number is exotic (notably with not only a number with the 
pattern x.x.x)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: MVERSIONS-95
                 URL: http://jira.codehaus.org/browse/MVERSIONS-95
             Project: Maven 2.x Versions Plugin
          Issue Type: Bug
    Affects Versions: 1.1
            Reporter: Alexandre Navarro


The version:display-dependency-updates does not return the correct newer 
versions when version number is exotic (notably with not only a number with the 
pattern x.x.x).

For instance if you have the last version of c3p0:c3p0 or spring in your 
pom.xml.

mvn version:display-dependency-updates 

returns

[INFO] The following dependencies in Dependencies have newer versions:
[INFO]   c3p0:c3p0 ........................................... 0.9.1.2 -> 0.9.0
[INFO]   javax.validation:validation-api .................. 1.0.0.GA -> 1.0.CR5
[INFO]   org.springframework:spring-orm ................ 3.0.1.RELEASE -> 2.5.6
[INFO]   org.springframework:spring-test ............... 3.0.1.RELEASE -> 2.5.6

I suppose the problem comes from the compareTo(String s) method because it is 
just a classic compareTo with a String (without managing special cases).
I don't know if the problem is in maven api libs or in your plugin (I think it 
is in maven api libs).

Thanks in advance.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to