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.
- Author:
- Jason van Zyl
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetArchetypeCatalog
(org.eclipse.aether.RepositorySystemSession repositorySession, List<org.eclipse.aether.repository.RemoteRepository> remoteRepositories) updateCatalog
(org.eclipse.aether.RepositorySystemSession repositorySession, Archetype archetype)
-
Field Details
-
ARCHETYPE_CATALOG_FILENAME
- See Also:
-
-
Method Details
-
getArchetypeCatalog
ArchetypeCatalog getArchetypeCatalog(org.eclipse.aether.RepositorySystemSession repositorySession, List<org.eclipse.aether.repository.RemoteRepository> remoteRepositories) throws ArchetypeDataSourceException - Throws:
ArchetypeDataSourceException
-
updateCatalog
File updateCatalog(org.eclipse.aether.RepositorySystemSession repositorySession, Archetype archetype) throws ArchetypeDataSourceException - Throws:
ArchetypeDataSourceException
-