You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Chris Feldhacker (JIRA)" <ji...@codehaus.org> on 2012/12/18 21:17:14 UTC

[jira] (ARCHETYPE-358) Following mirror configuration from settings.xml

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

Chris Feldhacker commented on ARCHETYPE-358:
--------------------------------------------

We're experiencing this problem, too.
We have our own Sonatype Nexus repository setup behind the firewall, which is defined in the mirrors section of the settings.xml.  Standard Maven operations work fine, no proxy settings needed in the settings.xml file.

When executing {{monospaced}}mvn archetype:generate{{monospaced}}, however, the error "Connection to http://repo1.maven.org refused" is given.  (Similar symptoms to ARCHETYPE-202, but different cause.) The archetype plugin should NOT be trying to connect to this URL directly -- instead, it should be using the mirror we have defined.
                
> 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
>
> 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: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira