Class CrawlRepositoryMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.archetype.mojos.CrawlRepositoryMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="crawl", requiresProject=false) public class CrawlRepositoryMojo extends org.apache.maven.plugin.AbstractMojo
Crawl a Maven repository (filesystem, not HTTP) and creates a catalog file.
  • Field Details

    • catalogFile

      @Parameter(property="catalog") private File catalogFile
      The archetype's catalog to update.
    • crawler

      @Component private RepositoryCrawler crawler
    • repository

      @Parameter(property="repository", defaultValue="${settings.localRepository}") private File repository
      The repository to crawl.
  • Constructor Details

    • CrawlRepositoryMojo

      public CrawlRepositoryMojo()
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException
      Throws:
      org.apache.maven.plugin.MojoExecutionException