You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Manfred Moser (JIRA)" <ji...@apache.org> on 2015/06/27 00:59:04 UTC

[jira] [Commented] (MNGSITE-193) Questionable tip for using multiple repositories

    [ https://issues.apache.org/jira/browse/MNGSITE-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14603738#comment-14603738 ] 

Manfred Moser commented on MNGSITE-193:
---------------------------------------

I will update this to create a best practice doc about repo manager usage and avoid repositories in settings.

> Questionable tip for using multiple repositories
> ------------------------------------------------
>
>                 Key: MNGSITE-193
>                 URL: https://issues.apache.org/jira/browse/MNGSITE-193
>             Project: Maven Project Web Site
>          Issue Type: Bug
>            Reporter: Robert Wruck
>            Assignee: Manfred Moser
>            Priority: Minor
>
> In the Guide to using Multiple Repositories (http://maven.apache.org/guides/mini/guide-multiple-repositories.html) it is stated that
> {quote}
> The repositories element is inherited so you would usually specify the repositories to use for a group of projects by defining a repositories element at the top of your inheritance chain.
> {quote}
> It is quite obvious that this won't work since the parent POM for a project would need to be fetched from a repository whose location is specified in the parent POM which needs to be fetched from a repository whose location is specified in the parent POM ... etc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)