org.apache.maven.archetype.mojos
Class CreateArchetypeFromProjectMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.archetype.mojos.CreateArchetypeFromProjectMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public class CreateArchetypeFromProjectMojo
extends AbstractMojo

Creates an archetype project from the current project, with a basic integration-test.

Author:
rafale
Aggregates the Maven project and its child modules.
Is defined to be executed in:
phase:
generate-sources
Is defined by the goal name:
create-from-project
Requires a Maven project to run:
true

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

CreateArchetypeFromProjectMojo

public CreateArchetypeFromProjectMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException,
                    MojoFailureException
Throws:
MojoExecutionException
MojoFailureException


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