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/08/20 13:49:32 UTC

[jira] Closed: (MNG-4755) Version ranges cannot be resolved against mirror if a local artifact is present

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

Benjamin Bentmann closed MNG-4755.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0-beta-3
         Assignee: Benjamin Bentmann

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

> Version ranges cannot be resolved against mirror if a local artifact is present
> -------------------------------------------------------------------------------
>
>                 Key: MNG-4755
>                 URL: http://jira.codehaus.org/browse/MNG-4755
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 3.0-beta-1
>            Reporter: Vincent Latombe
>            Assignee: Benjamin Bentmann
>             Fix For: 3.0-beta-3
>
>         Attachments: version-range-m3.zip
>
>
> See the attached test case :
> 1.
> * Files located inside tobedeployed have to be deployed to a remote repository.
> * This remote repository must be declared as mirror in your settings.xml.
> * a:1 will be available in the mirror
> 2. 
> * run "mvn clean install" inside tobeinstalled
> * it will install a:2 to local repository
> * b:1 will fail complaining it cannot find a:1 even though it is on the mirror
> 3.
> * Clean your local repository com/mycompany/app/a
> * run "mvn clean install" inside tobeinstalled/b
> * b:1 will retrieve a:1 from mirror and compile correctly
> Note that this works correctly with 2.2.1, 3.0-alpha-7. It breaks with beta-1 and upcoming beta-2.

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