org.apache.maven.archetype.source
Interface ArchetypeDataSource
- All Known Implementing Classes:
- CatalogArchetypeDataSource, InternalCatalogArchetypeDataSource, 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 |
static java.lang.String |
ROLE
|
Method Summary |
org.apache.maven.archetype.catalog.ArchetypeCatalog |
getArchetypeCatalog(java.util.Properties properties)
|
void |
updateCatalog(java.util.Properties properties,
org.apache.maven.archetype.catalog.Archetype archetype)
|
ROLE
static final java.lang.String ROLE
getArchetypeCatalog
org.apache.maven.archetype.catalog.ArchetypeCatalog getArchetypeCatalog(java.util.Properties properties)
throws ArchetypeDataSourceException
- Throws:
ArchetypeDataSourceException
updateCatalog
void updateCatalog(java.util.Properties properties,
org.apache.maven.archetype.catalog.Archetype archetype)
throws ArchetypeDataSourceException
- Throws:
ArchetypeDataSourceException
Copyright © 2007-2008 Apache Software Foundation. All Rights Reserved.