Package org.apache.maven.archetype.old
Interface OldArchetype
-
- All Known Implementing Classes:
DefaultOldArchetype
public interface OldArchetypeCreate a Maven project from an old archetype.- Version:
- $Id$
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringARCHETYPE_DESCRIPTORstatic java.lang.StringARCHETYPE_OLD_DESCRIPTORstatic java.lang.StringARCHETYPE_POMstatic java.lang.StringARCHETYPE_RESOURCESstatic java.lang.StringROLE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreateArchetype(ArchetypeGenerationRequest request, java.io.File archetypeFile)Create a project from an archetype file.voidcreateArchetype(ArchetypeGenerationRequest request, org.apache.maven.artifact.repository.ArtifactRepository archetypeRepository)Download an archetype then create a project from it.
-
-
-
Field Detail
-
ROLE
static final java.lang.String ROLE
-
ARCHETYPE_DESCRIPTOR
static final java.lang.String ARCHETYPE_DESCRIPTOR
- See Also:
- Constant Field Values
-
ARCHETYPE_OLD_DESCRIPTOR
static final java.lang.String ARCHETYPE_OLD_DESCRIPTOR
- See Also:
- Constant Field Values
-
ARCHETYPE_RESOURCES
static final java.lang.String ARCHETYPE_RESOURCES
- See Also:
- Constant Field Values
-
ARCHETYPE_POM
static final java.lang.String ARCHETYPE_POM
- See Also:
- Constant Field Values
-
-
Method Detail
-
createArchetype
void createArchetype(ArchetypeGenerationRequest request, org.apache.maven.artifact.repository.ArtifactRepository archetypeRepository) throws UnknownArchetype, ArchetypeNotFoundException, ArchetypeDescriptorException, ArchetypeTemplateProcessingException, InvalidPackaging
Download an archetype then create a project from it.
-
createArchetype
void createArchetype(ArchetypeGenerationRequest request, java.io.File archetypeFile) throws ArchetypeDescriptorException, ArchetypeTemplateProcessingException, InvalidPackaging
Create a project from an archetype file.
-
-