Interface ArchetypeDataSource
-
- All Known Implementing Classes:
CatalogArchetypeDataSource
,InternalCatalogArchetypeDataSource
,LocalCatalogArchetypeDataSource
,RemoteCatalogArchetypeDataSource
public interface ArchetypeDataSource
Sources we can get Archetypes from. This may be the local registry, a Wiki, or, a Maven Repository application. We might also want to get all the Archetypes based on some predetermined criteria and that could be anything given the source. A simple use-case might be to grab all Archetypes for a particular groupId, or Archetypes for webapps, or who knows what.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ARCHETYPE_CATALOG_FILENAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ArchetypeCatalog
getArchetypeCatalog(org.apache.maven.project.ProjectBuildingRequest buildingRequest)
void
updateCatalog(org.apache.maven.project.ProjectBuildingRequest buildingRequest, Archetype archetype)
-
-
-
Field Detail
-
ARCHETYPE_CATALOG_FILENAME
static final java.lang.String ARCHETYPE_CATALOG_FILENAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getArchetypeCatalog
ArchetypeCatalog getArchetypeCatalog(org.apache.maven.project.ProjectBuildingRequest buildingRequest) throws ArchetypeDataSourceException
- Throws:
ArchetypeDataSourceException
-
updateCatalog
void updateCatalog(org.apache.maven.project.ProjectBuildingRequest buildingRequest, Archetype archetype) throws ArchetypeDataSourceException
- Throws:
ArchetypeDataSourceException
-
-