You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2010/04/08 23:36:23 UTC

[jira] Closed: (MNG-2994) Snapshot repositories are not checked when using ranges

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

Benjamin Bentmann closed MNG-2994.
----------------------------------

    Resolution: Fixed
      Assignee: Benjamin Bentmann  (was: Jason van Zyl)

Fixed in [r932128|http://svn.apache.org/viewvc?view=revision&revision=932128].

> Snapshot repositories are not checked when using ranges
> -------------------------------------------------------
>
>                 Key: MNG-2994
>                 URL: http://jira.codehaus.org/browse/MNG-2994
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 2.0.6
>         Environment: Windows XP, Cygwin
>            Reporter: Mark Hobson
>            Assignee: Benjamin Bentmann
>             Fix For: 3.0-beta-1
>
>         Attachments: MNG-2994-2.patch, MNG-2994-3.patch, MNG-2994-core-it.patch, patch.txt
>
>
> The attached patch demonstrates the problem by adding it0121.  If the test repository has releases enabled, the test passes, when they are disabled, the test fails.  This appears to be due to DefaultArtifact.isSnapshot returning false for unresolved ranges, thus causing snapshot repositories to be disabled when resolving artifacts.

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