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 -
Method Summary
Modifier and TypeMethodDescriptiongetArchetypeCatalog
(org.apache.maven.project.ProjectBuildingRequest buildingRequest) void
updateCatalog
(org.apache.maven.project.ProjectBuildingRequest buildingRequest, Archetype archetype)
-
Field Details
-
ARCHETYPE_CATALOG_FILENAME
- See Also:
-
-
Method Details
-
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
-