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: [email protected] For additional commands, e-mail: [email protected]
