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 String ROLE
           
 
Method Summary
 ArchetypeCatalog getArchetypeCatalog(Properties properties)
           
 void updateCatalog(Properties properties, Archetype archetype)
           
 

Field Detail

ROLE

static final String ROLE
Method Detail

getArchetypeCatalog

ArchetypeCatalog getArchetypeCatalog(Properties properties)
                                     throws ArchetypeDataSourceException
Throws:
ArchetypeDataSourceException

updateCatalog

void updateCatalog(Properties properties,
                   Archetype archetype)
                   throws ArchetypeDataSourceException
Throws:
ArchetypeDataSourceException


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.