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

Grégory Joseph commented on ARCHETYPE-358:
------------------------------------------

@anders, 

bq. As a note, there's A LOT of docs to update if we implement this change. It 
is stated in several pages that the central repo url is used by default, which 
should be changed to state that the url defined by the (magic) repo id 
'central' is used.

That's the case for all of Maven, though, not specific to the archetype plugin. 
What's specific to the archetype plugin however, is that it's not consistent 
with the rest of Maven and doesn't respect the mirrors mandated by 
settings.xml. (in fact, mirrorOf:* should be enough to reproduce this error, 
whether or not you override the magic repo id.
                
> Following mirror configuration from settings.xml
> ------------------------------------------------
>
>                 Key: ARCHETYPE-358
>                 URL: https://jira.codehaus.org/browse/ARCHETYPE-358
>             Project: Maven Archetype
>          Issue Type: Bug
>          Components: Generator, Plugin
>    Affects Versions: 2.1
>            Reporter: Grégory Joseph
>            Assignee: Anders Hammar
>             Fix For: 3.0
>
>         Attachments: patch.txt
>
>
> It looks like the current snapshot of the plugin does not follow the mirror 
> configuration from my settings.xml when I do {{mvn archetype:generate}}. I 
> would expect it to grab the catalog from 
> {{http://nexus.magnolia-cms.com/content/groups/all/archetype-catalog.xml}} 
> instead of the central one.

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