You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Grégory Joseph (JIRA)" <ji...@codehaus.org> on 2013/03/04 23:17:52 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=321386#comment-321386 ]
Grégory Joseph commented on ARCHETYPE-358:
------------------------------------------
Now seeing a similar issue - which may or may not be related.
{{mvn archetype:generate -DarchetypeCatalog=http://nexus.magnolia-cms.com/content/groups/enterprise}}
The first time I execute the command, I can access the catalog - which is hinting that my settings.xml are taken into account. The second time, I do get a permission issue.
If I remove my settings.xml, the first time fails, somehow confirming they're used - once, but not twice ? I have NO IDEA what the difference between the first and the second run is, since I don't have cd into the newly created project, so there is NO pom.xml to interfere with mvn right there ... Puzzling !
> 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: 2.3
>
> 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