@Component(role=ArchetypeDataSource.class, hint="remote-catalog") public class RemoteCatalogArchetypeDataSource extends CatalogArchetypeDataSource implements ArchetypeDataSource
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ARCHETYPE_REPOSITORY_ID
Id of the repository used to download catalog file.
|
static java.lang.String |
CENTRAL_REPOSITORY_ID |
ARCHETYPE_CATALOG_PROPERTY
ARCHETYPE_CATALOG_FILENAME
Constructor and Description |
---|
RemoteCatalogArchetypeDataSource() |
Modifier and Type | Method and Description |
---|---|
ArchetypeCatalog |
getArchetypeCatalog(org.apache.maven.project.ProjectBuildingRequest buildingRequest) |
void |
updateCatalog(org.apache.maven.project.ProjectBuildingRequest buildingRequest,
Archetype archetype) |
readCatalog, writeLocalCatalog
public static final java.lang.String ARCHETYPE_REPOSITORY_ID
public static final java.lang.String CENTRAL_REPOSITORY_ID
public ArchetypeCatalog getArchetypeCatalog(org.apache.maven.project.ProjectBuildingRequest buildingRequest) throws ArchetypeDataSourceException
getArchetypeCatalog
in interface ArchetypeDataSource
ArchetypeDataSourceException
public void updateCatalog(org.apache.maven.project.ProjectBuildingRequest buildingRequest, Archetype archetype) throws ArchetypeDataSourceException
updateCatalog
in interface ArchetypeDataSource
ArchetypeDataSourceException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.