org.apache.maven.archetype.old
Interface OldArchetype
- All Known Implementing Classes:
- DefaultOldArchetype
public interface OldArchetype
Create a Maven project from an old archetype.
- Version:
- $Id: OldArchetype.java 1162541 2011-08-28 15:48:08Z hboutemy $
- Author:
- Jason van Zyl
ROLE
static final String ROLE
ARCHETYPE_DESCRIPTOR
static final String ARCHETYPE_DESCRIPTOR
- See Also:
- Constant Field Values
ARCHETYPE_OLD_DESCRIPTOR
static final String ARCHETYPE_OLD_DESCRIPTOR
- See Also:
- Constant Field Values
ARCHETYPE_RESOURCES
static final String ARCHETYPE_RESOURCES
- See Also:
- Constant Field Values
ARCHETYPE_POM
static final String ARCHETYPE_POM
- See Also:
- Constant Field Values
createArchetype
void createArchetype(ArchetypeGenerationRequest request,
org.apache.maven.artifact.repository.ArtifactRepository archetypeRepository)
throws UnknownArchetype,
ArchetypeNotFoundException,
ArchetypeDescriptorException,
ArchetypeTemplateProcessingException
- Download an archetype then create a project from it.
- Throws:
UnknownArchetype
ArchetypeNotFoundException
ArchetypeDescriptorException
ArchetypeTemplateProcessingException
createArchetype
void createArchetype(ArchetypeGenerationRequest request,
File archetypeFile)
throws ArchetypeDescriptorException,
ArchetypeTemplateProcessingException
- Create a project from an archetype file.
- Throws:
ArchetypeDescriptorException
ArchetypeTemplateProcessingException
Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.