|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Archetype
| Field Summary | |
|---|---|
static java.lang.String |
ROLE
|
| Method Summary | |
|---|---|
java.io.File |
archiveArchetype(java.io.File archetypeDirectory,
java.io.File outputDirectory,
java.lang.String finalName)
Creates a jar file for an archetype. |
ArchetypeCreationResult |
createArchetypeFromProject(ArchetypeCreationRequest request)
A command to create an OldArchetype from an existing Maven project given the suppled creation request. |
ArchetypeGenerationResult |
generateProjectFromArchetype(ArchetypeGenerationRequest request)
A command to generate a Maven project from an OldArchetype given the suppled generation request. |
org.apache.maven.archetype.catalog.ArchetypeCatalog |
getDefaultLocalCatalog()
Gives the catalog of archetypes located in $user.home/.m2/repository/archetype-catalog.xml. |
org.apache.maven.archetype.catalog.ArchetypeCatalog |
getInternalCatalog()
Gives the catalog of archetypes internal to the plugin. |
org.apache.maven.archetype.catalog.ArchetypeCatalog |
getLocalCatalog(java.lang.String path)
Gives the catalog of archetypes located in the given path. |
org.apache.maven.archetype.catalog.ArchetypeCatalog |
getRemoteCatalog()
Gives the catalog of archetypes located at http://repo1.maven.org/maven2/archetype-catalog.xml. |
org.apache.maven.archetype.catalog.ArchetypeCatalog |
getRemoteCatalog(java.lang.String url)
Gives the catalog of archetypes located at the given url. |
void |
updateLocalCatalog(org.apache.maven.archetype.catalog.Archetype archetype)
|
void |
updateLocalCatalog(org.apache.maven.archetype.catalog.Archetype archetype,
java.lang.String path)
|
| Field Detail |
|---|
static final java.lang.String ROLE
| Method Detail |
|---|
ArchetypeCreationResult createArchetypeFromProject(ArchetypeCreationRequest request)
request -
ArchetypeGenerationResult generateProjectFromArchetype(ArchetypeGenerationRequest request)
request -
org.apache.maven.archetype.catalog.ArchetypeCatalog getInternalCatalog()
org.apache.maven.archetype.catalog.ArchetypeCatalog getDefaultLocalCatalog()
org.apache.maven.archetype.catalog.ArchetypeCatalog getLocalCatalog(java.lang.String path)
path - the catalog file path or directory containing the catalog file.
org.apache.maven.archetype.catalog.ArchetypeCatalog getRemoteCatalog()
org.apache.maven.archetype.catalog.ArchetypeCatalog getRemoteCatalog(java.lang.String url)
url - the catalog url or base url containing the catalog file.
java.io.File archiveArchetype(java.io.File archetypeDirectory,
java.io.File outputDirectory,
java.lang.String finalName)
throws org.apache.maven.artifact.DependencyResolutionRequiredException,
java.io.IOException
archetypeDirectory - outputDirectory - finalName -
org.apache.maven.artifact.DependencyResolutionRequiredException
java.io.IOException
void updateLocalCatalog(org.apache.maven.archetype.catalog.Archetype archetype,
java.lang.String path)
void updateLocalCatalog(org.apache.maven.archetype.catalog.Archetype archetype)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||