You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "tom nelson (JIRA)" <ji...@codehaus.org> on 2008/02/27 20:21:28 UTC
[jira] Created: (ARCHETYPE-142) catalog default location problem in
CrawlRepositoryMojo
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
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
[jira] Closed: (ARCHETYPE-142) catalog default location problem in
CrawlRepositoryMojo
Posted by "Raphaël Piéroni (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/ARCHETYPE-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Raphaël Piéroni closed ARCHETYPE-142.
-------------------------------------
Resolution: Not A Bug
This is not a bug as the way to use it is explained in the last comment
> 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
[jira] Commented: (ARCHETYPE-142) catalog default location problem
in CrawlRepositoryMojo
Posted by "Tim Reilly (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/ARCHETYPE-142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=155032#action_155032 ]
Tim Reilly commented on ARCHETYPE-142:
--------------------------------------
> It is probably the default location for the local catalog that should be modified
Is this a possibility to change the default location for the local catalog?
My inclination is to run archetype:crawl and then archetype:generate and see the results of the crawl - but since crawl and generate are looking in different locations locally I'd assumed there was a bug.
> 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
[jira] Commented: (ARCHETYPE-142) catalog default location problem
in CrawlRepositoryMojo
Posted by "Raphaël Piéroni (JIRA)" <ji...@codehaus.org>.
[ 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