[
http://jira.codehaus.org/browse/ARCHETYPE-222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159877#action_159877
]
Martin Gainty commented on ARCHETYPE-222:
-----------------------------------------
confirmed any/all attempts to use localRepository in 2.0.9 failse.g.
mvn -DlocalRepository=ValidPathForPlugin install
FAILS to use localRepository
%M2_HOME%/conf/settings.xml
<settings>
<localRepository>F:\Maven-plugin</localRepository>
FAILS
I'll check 2.10
MCG 01/04/09
> 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