org.apache.maven.archetype.source
Class RemoteCatalogArchetypeDataSource
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.archetype.source.CatalogArchetypeDataSource
org.apache.maven.archetype.source.RemoteCatalogArchetypeDataSource
- All Implemented Interfaces:
- ArchetypeDataSource, org.codehaus.plexus.logging.LogEnabled
public class RemoteCatalogArchetypeDataSource
- extends CatalogArchetypeDataSource
- Author:
- Jason van Zyl
- Plexus component:
- role-hint:
- "remote-catalog"
|
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REPOSITORY_PROPERTY
public static final String REPOSITORY_PROPERTY
- See Also:
- Constant Field Values
REPOSITORY_ID
public static final String REPOSITORY_ID
- Id of the repository used to download catalog file. Proxy or authentication info can
be setup in settings.xml.
- See Also:
- Constant Field Values
RemoteCatalogArchetypeDataSource
public RemoteCatalogArchetypeDataSource()
getArchetypeCatalog
public ArchetypeCatalog getArchetypeCatalog(Properties properties)
throws ArchetypeDataSourceException
- Specified by:
getArchetypeCatalog
in interface ArchetypeDataSource
- Overrides:
getArchetypeCatalog
in class CatalogArchetypeDataSource
- Throws:
ArchetypeDataSourceException
updateCatalog
public void updateCatalog(Properties properties,
Archetype archetype)
throws ArchetypeDataSourceException
- Specified by:
updateCatalog
in interface ArchetypeDataSource
- Overrides:
updateCatalog
in class CatalogArchetypeDataSource
- Throws:
ArchetypeDataSourceException
Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.