[ 
http://jira.codehaus.org/browse/MVERSIONS-76?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=193977#action_193977
 ] 

Stephen Connolly edited comment on MVERSIONS-76 at 10/8/09 4:27 AM:
--------------------------------------------------------------------

The rhino:js "bug" is actually a result of incorrect metadata on repo1.maven.org

Have a look at http://repo2.maven.org/maven2/rhino/js/maven-metadata.xml

<metadata>
<groupId>rhino</groupId>
<artifactId>js</artifactId>
<version>1.5R4-RC3</version>
<versioning>
<versions>
<version>1.5R4-RC3</version>
<version>1.5R4.1</version>
<version>1.6R1</version>
<version>1.6R2</version>
</versions>
</versioning>
</metadata>

This metadata does not list all the versions that are present, as a result when 
we ask maven what is the latest version available, se are told: 1.6R2

We then see that the versions you are using, 1.6R5 and 1.6R7 in the two cases 
respectively, are newer that the latest version maven knows about.  Since your 
build is working (i.e. we can resolve that version) and it is newer than the 
latest version maven reports, so we say that it is the latest version.

We do not have visibility that other modules are using a newer version.  

The issue is with the maven central repository.  Please file a JIRA against MEV

      was (Author: stephenconnolly):
    The rhino:js "bug" is actually a result of incorrect metadata on 
repo1.maven.org

Have a look at 

  
> Inconsistent reporting of newer versions
> ----------------------------------------
>
>                 Key: MVERSIONS-76
>                 URL: http://jira.codehaus.org/browse/MVERSIONS-76
>             Project: Maven 2.x Versions Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: 
> http://svn.apache.org/repos/asf/jakarta/bsf/branches/bsf3.x/pom.xml
> Win/XP
> Apache Maven 2.1.0 (r755702; 2009-03-18 19:10:27+0000)
> Java version: 1.5.0_20
>            Reporter: SebbASF
>            Priority: Blocker
>         Attachments: dep.txt
>
>
> The following output is from a single run of 
> versions:display-dependency-updates against :
> [INFO] The following dependencies in Dependencies are using the newst version:
> [INFO]   rhino:js ....................................................... 
> 1.6R7
> ...
> [INFO] The following dependencies in Dependencies are using the newst version:
> [INFO]   rhino:js ....................................................... 
> 1.6R5
> ...
> [INFO] The following dependencies in Dependencies are using the newst version:
> [INFO]   rhino:js ....................................................... 
> 1.6R7
> This is clearly wrong, as 1.6R5 and 1.6R7 cannot both be the newest version.
> Furthermore, the same run says:
> [INFO] The following dependencies in Dependencies have newer versions:
> [INFO]   junit:junit ............................................. 3.8.2 -> 
> 4.4
> [INFO]   jython:jython ........................................... 2.2b1 -> 
> 2.1
> The latest version of JUnit is 4.7, not 4.4.
> Also, surely jython 2.1 is _older_ than 2.2b1?
> See attached file dep.txt

-- 
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