org.apache.maven.archetype.mojos
Class MavenArchetypeMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.archetype.mojos.MavenArchetypeMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Deprecated. Please use the generate mojo instead.
public class MavenArchetypeMojo
- extends org.apache.maven.plugin.AbstractMojo
The archetype creation goal looks for an archetype with a given groupId,
artifactId, and version and retrieves it from the remote repository. Once the
archetype is retrieved, it is then processed against a set of user parameters
to create a working Maven project.
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MavenArchetypeMojo
public MavenArchetypeMojo()
- Deprecated.
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Deprecated.
- Throws:
org.apache.maven.plugin.MojoExecutionException
createRepository
public org.apache.maven.artifact.repository.ArtifactRepository createRepository(String url,
String repositoryId)
- Deprecated.
Copyright © 2007-2008 The Apache Software Foundation. All Rights Reserved.