org.apache.maven.archetype.mojos
Class MavenArchetypeMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.archetype.mojos.MavenArchetypeMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
Deprecated. Please use the generate mojo instead.
public class MavenArchetypeMojo
- extends 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.
- Is defined by the goal name:
- create
- Requires a Maven project to run:
- false
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
void |
execute()
Deprecated. |
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 MojoExecutionException
- Deprecated.
- Throws:
MojoExecutionException
Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.