org.apache.maven.archetype.mojos
Class CreateProjectFromArchetypeMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.archetype.mojos.CreateProjectFromArchetypeMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
public class CreateProjectFromArchetypeMojo
- extends AbstractMojo
- implements ContextEnabled
Generates a new project from an archetype, or updated the actual project if using a partial archetype.
If the project is fully generated, it is generated in a directory corresponding to its artifactId.
If the project is updated with a partial archetype, it is done in the current directory.
- Author:
- rafale
- Is defined to be executed in:
- phase:
- generate-sources
- Is defined by the goal name:
- generate
- Requires a Maven project to run:
- false
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateProjectFromArchetypeMojo
public CreateProjectFromArchetypeMojo()
execute
public void execute()
throws MojoExecutionException,
MojoFailureException
- Specified by:
execute
in interface Mojo
- Throws:
MojoExecutionException
MojoFailureException
Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.