org.apache.maven.archetype.source
Class WikiArchetypeDataSource
java.lang.Object
org.apache.maven.archetype.source.WikiArchetypeDataSource
- All Implemented Interfaces:
- ArchetypeDataSource
@Component(role=org.apache.maven.archetype.source.ArchetypeDataSource.class,
hint="wiki")
public class WikiArchetypeDataSource- extends Object
- implements ArchetypeDataSource
An archetype data source getting its content from a Confluence Wiki page.
By default, MAVENUSER/Archetypes List
is used.
- Author:
- Jason van Zyl
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WikiArchetypeDataSource
public WikiArchetypeDataSource()
getArchetypeCatalog
public ArchetypeCatalog getArchetypeCatalog(Properties properties)
throws ArchetypeDataSourceException
- Specified by:
getArchetypeCatalog in interface ArchetypeDataSource
- Throws:
ArchetypeDataSourceException
getArchetypes
public List<Archetype> getArchetypes(Properties properties)
throws ArchetypeDataSourceException
- Throws:
ArchetypeDataSourceException
updateCatalog
public void updateCatalog(Properties properties,
Archetype archetype)
throws ArchetypeDataSourceException
- Specified by:
updateCatalog in interface ArchetypeDataSource
- Throws:
ArchetypeDataSourceException
Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.