[ 
https://jira.codehaus.org/browse/MNG-3056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=338837#comment-338837
 ] 

Jason van Zyl commented on MNG-3056:
------------------------------------

Using a mirror and a standard repository setup you can force all resolution 
through a single URL. But allowing dependencies to specify their own 
repositories is sometimes useful.  But both methods work now.
                
> Dependencies should not be able to introduce repositories to the build
> ----------------------------------------------------------------------
>
>                 Key: MNG-3056
>                 URL: https://jira.codehaus.org/browse/MNG-3056
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: Artifacts and Repositories
>    Affects Versions: 2.2.x (to be reviewed)
>            Reporter: Wendy Smoak
>            Assignee: Jason van Zyl
>             Fix For: Issues to be reviewed for 3.x
>
>
> If you depend on an artifact that has repositories or pluginRepositories 
> defined in the pom, those repositories are also searched for artifacts.
> It's disconcerting when you think you've overridden 'central' and set things 
> up to use only internal repositories, and Maven still tries to to download 
> artifacts from elsewhere.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to