[
http://jira.codehaus.org/browse/ARCHETYPE-142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=156387#action_156387
]
Raphaël Piéroni commented on ARCHETYPE-142:
-------------------------------------------
> Is this a possibility to change the default location for the local catalog?
Yes.
There are two methods to do this:
1. mvn archetype:crawl -Dcatalog=/home/username/.m2/archetype-catalog.xml ;
mvn archetype:generate -DarchetypeCatalog=local
or
2. mvn archetype:crawl ; mvn arhetype:generate
-DarchetypeCatalog=file:///home/username/.m2/repository/archetype-catalog.xml
> catalog default location problem in CrawlRepositoryMojo
> -------------------------------------------------------
>
> Key: ARCHETYPE-142
> URL: http://jira.codehaus.org/browse/ARCHETYPE-142
> Project: Maven Archetype
> Issue Type: Bug
> Components: Plugin
> Affects Versions: 2.0-alpha-2
> Reporter: tom nelson
> Fix For: 2.0-alpha-5
>
>
> the default repository location is $HOME/.m2/repository but this is also used
> as the the default place to create the new archetype-catalog.xml file.
> The archetype-catalog.xml should be created in $HOME/.m2 instead.
--
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