org.codehaus.groovy.maven.plugin.execute
Class ExecuteMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.groovy.maven.plugin.MojoSupport
          extended by org.codehaus.groovy.maven.plugin.ProviderMojoSupport
              extended by org.codehaus.groovy.maven.plugin.ComponentMojoSupport
                  extended by org.codehaus.groovy.maven.plugin.execute.ExecuteMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

public class ExecuteMojo
extends ComponentMojoSupport

Executes a Groovy script.

Since:
1.0-alpha-1
Version:
$Id: ExecuteMojo.java 13181 2008-08-10 14:05:55Z user57 $
Author:
Jason Dillon

Field Summary
 
Fields inherited from class org.codehaus.groovy.maven.plugin.ProviderMojoSupport
pluginArtifactMap
 
Fields inherited from class org.codehaus.groovy.maven.plugin.MojoSupport
artifactFactory, artifactMetadataSource, artifactRepository, artifactResolver, log, project, remoteRepositories
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ExecuteMojo()
           
 
Method Summary
protected  java.util.List getProjectClasspathElements()
           
protected  ArtifactItem[] getUserClassspathElements()
           
protected  void process(Component component)
           
 
Methods inherited from class org.codehaus.groovy.maven.plugin.ComponentMojoSupport
configure, doExecute, feature, feature
 
Methods inherited from class org.codehaus.groovy.maven.plugin.ProviderMojoSupport
contextualize, getProviderManager, getProviderSelection, provider
 
Methods inherited from class org.codehaus.groovy.maven.plugin.MojoSupport
createArtifact, createClassPath, execute, getArtifact, resolveArtifact
 
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

ExecuteMojo

public ExecuteMojo()
Method Detail

getProjectClasspathElements

protected java.util.List getProjectClasspathElements()
                                              throws org.apache.maven.artifact.DependencyResolutionRequiredException
Overrides:
getProjectClasspathElements in class MojoSupport
Throws:
org.apache.maven.artifact.DependencyResolutionRequiredException

getUserClassspathElements

protected ArtifactItem[] getUserClassspathElements()
Overrides:
getUserClassspathElements in class MojoSupport

process

protected void process(Component component)
                throws java.lang.Exception
Specified by:
process in class ComponentMojoSupport
Throws:
java.lang.Exception


Copyright © 2006-2010 Codehaus. All Rights Reserved.