@Mojo(name="crawl",
requiresProject=false)
public class CrawlRepositoryMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
private java.io.File |
catalogFile
The archetype's catalog to update.
|
private RepositoryCrawler |
crawler |
private java.io.File |
repository
The repository to crawl.
|
Constructor and Description |
---|
CrawlRepositoryMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
@Parameter(property="catalog") private java.io.File catalogFile
@Component private RepositoryCrawler crawler
@Parameter(property="repository", defaultValue="${settings.localRepository}") private java.io.File repository