Details
Description
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.
Activity
Chris Feldhacker
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | patch.txt [ 62275 ] |
Olivier Lamy
made changes -
| Fix Version/s | 2.3 [ 18127 ] |
Anders Hammar
made changes -
| Assignee | Anders Hammar [ afloom ] |
Anders Hammar
made changes -
| Fix Version/s | 3.0 [ 19192 ] | |
| Fix Version/s | 2.3 [ 18127 ] |
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 mvn archetype:generate, 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.