display-dependency-updates does not show available snapshots
------------------------------------------------------------

                 Key: MVERSIONS-78
                 URL: http://jira.codehaus.org/browse/MVERSIONS-78
             Project: Maven 2.x Versions Plugin
          Issue Type: Bug
    Affects Versions: 1.0
         Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
Java version: 1.6.0_10
Java home: /usr/java/jdk1.6.0_10/jre
Default locale: en_CA, platform encoding: UTF-8
OS name: "linux" version: "2.6.30.8-64.fc11.x86_64" arch: "amd64" Family: "unix"
            Reporter: Peter Janes
         Attachments: mversions-bug.tar.gz

With allowSnapshots set to true, 
versions-maven-plugin:display-dependency-updates does not find newer -SNAPSHOT 
versions of a project's dependencies.  For example, if the project refers to 
foo:bar:1.0 and foo:bar:1.1-SNAPSHOT is available, the report will indicate 
that 1.0 is the newest version.

I've created a simple project with two embedded repositories to demonstrate the 
issue; extract the attached tar and run "mvn test -s settings.xml".

I've noticed one odd item when running in debug with -X, which may indicate 
that the problem isn't in versions at all: if the test-snapshot repository has 
<releases><enabled>false (which would be expected for a snapshot repository) 
then Maven reports "[DEBUG] Skipping disabled repository test-snapshot".  
However, even with <releases><enabled>true the 1.1-SNAPSHOT isn't discovered.

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