You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Adrian (JIRA)" <ji...@codehaus.org> on 2008/11/27 17:02:19 UTC
[jira] Commented: (ARCHETYPE-222) archetype:generate don't use
in settings.xml when looking for archetype-catalog.xml
[ http://jira.codehaus.org/browse/ARCHETYPE-222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=155645#action_155645 ]
Adrian commented on ARCHETYPE-222:
----------------------------------
Temporary workaround :
. I create archetype-catalog.xml using mvn archetype:crawl.
. Deploy archetype-catalog.xml on http server (http://myserver/archetypes).
. Launch 'mvn archetype:generate -DarchetypeCatalog=http://myserver/archetypes'
> archetype:generate don't use <localRepository> in settings.xml when looking for archetype-catalog.xml
> -----------------------------------------------------------------------------------------------------
>
> Key: ARCHETYPE-222
> URL: http://jira.codehaus.org/browse/ARCHETYPE-222
> Project: Maven Archetype
> Issue Type: Bug
> Affects Versions: 2.0-alpha-4
> Environment: Windows XP, Maven 2.0.9, archetype 2.0-alpha4
> Reporter: Adrian
>
> mvn archetype:generate always looks for ~/.m2/archetype-catalog.xml.
> I've overriden local repository location in my settings.xml :
> <localRepository>D:\Documents\Developpements\.m2\repository</localRepository>
> I would have expected archetype:generate to look after D:\Documents\Developpements\.m2\repository\archetype-catalog.xml, but this is not the case.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira