org.codehaus.groovy.maven.plugin.tools
Class ShellMojo

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.tools.ShellMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

public class ShellMojo
extends ComponentMojoSupport

Launches the Groovy Shell (aka. groovysh).

Since:
1.0-beta-2
Version:
$Id: ShellMojo.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
ShellMojo()
           
 
Method Summary
protected  void configure(Configuration config)
           
protected  java.util.List getProjectClasspathElements()
           
protected  void process(Component component)
           
 
Methods inherited from class org.codehaus.groovy.maven.plugin.ComponentMojoSupport
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, getUserClassspathElements, 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

ShellMojo

public ShellMojo()
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

configure

protected void configure(Configuration config)
                  throws java.lang.Exception
Overrides:
configure in class ComponentMojoSupport
Throws:
java.lang.Exception

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.