You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Juven Xu <ju...@sonatype.com> on 2010/04/27 18:23:00 UTC

Re: maven-archetype-plugin 2.0-beta-5 and Central

I just created a cli tool using code from nexus-archetype-plugin, and
updated the central archetype catalog with latest central index

The nexus-archetype-plugin is open sourced:
http://scm.sonatype.org/repobrowser.svn?path=/trunk/&revision=HEAD&name=Nexus-plugins

I will clean up the cli code and publish it.

On Mon, Mar 29, 2010 at 12:28 AM, Jason van Zyl <ja...@sonatype.com> wrote:

> We already have all the code because this is what we integrated into the
> Maven Shell. I'll find all the pointers and send them to you.
>
> On Mar 28, 2010, at 9:00 AM, Hervé BOUTEMY wrote:
>
> > Le dimanche 28 mars 2010, Jason van Zyl a écrit :
> >>> Question: how to update it?
> >>> Run crawl Mojo against Central once a day, for example?
> >>
> >> No, there will be no scanning of Maven Central.
> >>
> >> The best thing is to use the Nexus index like we do in M2Eclipse.
> >> Everything required is in the index and you can just make a Nexus index
> >> source which is far more efficient. Scanning just kills the performance
> of
> >> the machine and there aren't many windows of time anymore where Central
> >> isn't heavily used. Scanning simply isn't required anyway with the
> index.
> >
> > yes, far better approach for Central.
> > I found Nexus Archetype Plugin code [1], with everything needed, thank
> you for
> > the tip.
> >
> > Now the question is: where to add code, and how to add catalog generation
> > after central index creation?
> > Is there an extension point in repository-tools?
> >
> > Regards,
> >
> > Hervé
> >
> >
> > [1] http://svn.sonatype.org/nexus-plugins/trunk/nexus-archetype-
> > plugin/src/main/java/org/sonatype/nexus/plugins/mac/DefaultMacPlugin.java
> >
> > [2] http://svn.apache.org/viewvc/maven/repository-tools/trunk/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
>
> Thanks,
>
> Jason
>
> ----------------------------------------------------------
> Jason van Zyl
> Founder,  Apache Maven
> http://twitter.com/jvanzyl
> ----------------------------------------------------------
>
>


-- 
- juven