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:
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.


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
MavenArchetypeMojo()
          Deprecated.  
 
Method Summary
 org.apache.maven.artifact.repository.ArtifactRepository createRepository(String url, String repositoryId)
          Deprecated.  
 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 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-2010 The Apache Software Foundation. All Rights Reserved.