@Component(role=ArchetypeDataSource.class, hint="remote-catalog") public class RemoteCatalogArchetypeDataSource extends CatalogArchetypeDataSource
Modifier and Type | Field and Description |
---|---|
static String |
REPOSITORY_ID
Id of the repository used to download catalog file.
|
static String |
REPOSITORY_PROPERTY |
ARCHETYPE_CATALOG_FILENAME, ARCHETYPE_CATALOG_PROPERTY, DEFAULT_ARCHETYPE_CATALOG, MAVEN_CONFIGURATION, USER_HOME
ROLE
Constructor and Description |
---|
RemoteCatalogArchetypeDataSource() |
Modifier and Type | Method and Description |
---|---|
ArchetypeCatalog |
getArchetypeCatalog(Properties properties) |
void |
updateCatalog(Properties properties,
Archetype archetype) |
readCatalog, writeLocalCatalog
public static final String REPOSITORY_PROPERTY
public static final String REPOSITORY_ID
public ArchetypeCatalog getArchetypeCatalog(Properties properties) throws ArchetypeDataSourceException
getArchetypeCatalog
in interface ArchetypeDataSource
getArchetypeCatalog
in class CatalogArchetypeDataSource
ArchetypeDataSourceException
public void updateCatalog(Properties properties, Archetype archetype) throws ArchetypeDataSourceException
updateCatalog
in interface ArchetypeDataSource
updateCatalog
in class CatalogArchetypeDataSource
ArchetypeDataSourceException
Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.