[ 
http://jira.codehaus.org/browse/MVERSIONS-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Allan Shoup updated MVERSIONS-19:
---------------------------------

    Attachment: my-app-working.zip

And here is the same project with the <releases/> element commented out.

{noformat}
C:\Temp\my-app>mvn versions:display-dependency-updates -DallowSnapshots=true
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'versions'.
[INFO] ------------------------------------------------------------------------
[INFO] Building my-app
[INFO]    task-segment: [versions:display-dependency-updates]
[INFO] ------------------------------------------------------------------------
[INFO] [versions:display-dependency-updates]
[INFO]
[INFO] The following dependency updates are available:
[INFO]   org.atomserver:atomserver .............. 2.0-SNAPSHOT -> 2.2-SNAPSHOT
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Tue Apr 07 22:06:41 CDT 2009
[INFO] Final Memory: 5M/27M
[INFO] ------------------------------------------------------------------------
{noformat}


> Repository enabled flag prevents identification
> -----------------------------------------------
>
>                 Key: MVERSIONS-19
>                 URL: http://jira.codehaus.org/browse/MVERSIONS-19
>             Project: Maven 2.x Versions Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0-alpha-2
>         Environment: maven 2.1.0-M1
>            Reporter: Allan Shoup
>         Attachments: my-app-broken.zip, my-app-working.zip
>
>
> When a snapshot repository is included and the releases are disabled, the 
> plugin will not identify any snapshot dependencies from that repository (even 
> though snapshots are still enabled).
> <repository>
>     <id>my-snapshot-repository</id>
>     <name>My Snapshot Repository</name>
>     <url>http://my.repo/snapshot</url>
>     <releases>
>         <enabled>false</enabled>
>     </releases>
> </repository>

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