org.apache.maven.archetype.mojos
Class MavenArchetypeMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by 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

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
MavenArchetypeMojo()
          Deprecated.  
 
Method Summary
 void execute()
          Deprecated.  
 
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
 

Constructor Detail

MavenArchetypeMojo

public MavenArchetypeMojo()
Deprecated. 
Method Detail

execute

public void execute()
             throws MojoExecutionException
Deprecated. 
Throws:
MojoExecutionException


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.