In the last mail when I wrote "If you wish to use it from your console, just
hit the next command", i meant use the local archetype catalog... =)


On Thu, Sep 25, 2008 at 11:18 AM, Thor <[EMAIL PROTECTED]> wrote:

> You can reindex your local catalog from the preferences page of your Maven
> Plugin (M2Eclipse or q4E) in the Eclipse IDE
>
> You can also update your local archetype catalog using the maven archetype
> plugin, like this:
> mvn archetype:crawl
>
> It'll check your local repo and generate the archetype-catalog.xml file
> (with the info of your locally installed archetypes) at the root of your
> repo.
>
> You can, then, copy it to your ~/.m2/ folder
>
> If you wish to use it from your console, just hit the next command:
>
> mvn archetype:generate -DarchetypeCatalog=local
>
> My regards...
>
>
> On Thu, Sep 25, 2008 at 10:31 AM, Patel, Ronak (US SSA) <
> [EMAIL PROTECTED]> wrote:
>
>> Eugene,
>>
>> Thanks for your reply.
>>
>> How do you reindex the local Maven repository inside of Eclipse?
>>
>> I can't seem to find out how to do that.
>>
>> Ronak
>>
>> -----Original Message-----
>> From: Eugene Kuleshov [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, September 24, 2008 9:30 PM
>> To: users@maven.apache.org
>> Subject: Re: New Archetypes inside Eclipse
>>
>>
>>
>> Patel, Ronak (US SSA) wrote:
>> >
>> > I am new to Maven's eclipse plugin. I installed a new archetype using
>> > the command line mvn install command.
>> >
>> > How can I use that archetype inside of eclipse to create a project?
>> >
>> > Eclipse asks me for some catalog file that contains information about
>> > the new archetype so I was wondering where that was by default.
>> >
>> > I would like eclipse to pick up my new archetype.
>> >
>>
>>  It should work after you reindex local Maven repository in the IDE,
>> then
>> default indexer-based Archetype catalog will pick it up.
>>  There is jira issue suggesting to incrementally update index after
>> executing Maven install from the IDE, please vote on it if you are
>> interested. http://jira.codehaus.org/browse/MNGECLIPSE-510
>>
>>  Thanks
>>
>>  Eugene
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/New-Archetypes-inside-Eclipse-tp19662272p19662893.
>> html<http://www.nabble.com/New-Archetypes-inside-Eclipse-tp19662272p19662893.html>
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
>
> (o_ \*
> / / ) |
>
> / \ /
> | O |
> v v ....
>



-- 

(o_ \*
/ / ) |

/ \ /
| O |
v v ....

Reply via email to