@Component(role=RepositoryCrawler.class) public class DefaultRepositoryCrawler extends org.codehaus.plexus.logging.AbstractLogEnabled implements RepositoryCrawler
Modifier and Type | Field and Description |
---|---|
private ArchetypeArtifactManager |
archetypeArtifactManager |
ROLE
Constructor and Description |
---|
DefaultRepositoryCrawler() |
Modifier and Type | Method and Description |
---|---|
ArchetypeCatalog |
crawl(java.io.File repository) |
boolean |
writeCatalog(ArchetypeCatalog archetypeCatalog,
java.io.File archetypeCatalogFile) |
@Requirement private ArchetypeArtifactManager archetypeArtifactManager
public ArchetypeCatalog crawl(java.io.File repository)
crawl
in interface RepositoryCrawler
public boolean writeCatalog(ArchetypeCatalog archetypeCatalog, java.io.File archetypeCatalogFile)
writeCatalog
in interface RepositoryCrawler