org.codehaus.gmaven.plugin.execute
Class ExecuteMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.gmaven.plugin.MojoSupport
org.codehaus.gmaven.plugin.ProviderMojoSupport
org.codehaus.gmaven.plugin.ComponentMojoSupport
org.codehaus.gmaven.plugin.execute.ExecuteMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class ExecuteMojo
- extends ComponentMojoSupport
Executes a Groovy script.
- Since:
- 1.0-alpha-1
- Version:
- $Id: ExecuteMojo.java 143 2011-09-26 04:32:06Z keeganwitt $
- Author:
- Jason Dillon
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 |
ExecuteMojo
public ExecuteMojo()
getProjectClasspathElements
protected List getProjectClasspathElements()
throws org.apache.maven.artifact.DependencyResolutionRequiredException
- Allow the script to work with every JAR dependency of both the project and plugin, including
optional and provided dependencies. Runtime classpath elements are loaded first, so that
legacy behavior is not modified. Additional elements are added first in the order of
project artifacts, then in the order of plugin artifacts.
- Overrides:
getProjectClasspathElements in class MojoSupport
- Throws:
org.apache.maven.artifact.DependencyResolutionRequiredException
getUserClassspathElements
protected ArtifactItem[] getUserClassspathElements()
- Overrides:
getUserClassspathElements in class MojoSupport
process
protected void process(org.codehaus.gmaven.feature.Component component)
throws Exception
- Specified by:
process in class ComponentMojoSupport
- Throws:
Exception
Copyright © 2006-2012 Codehaus. All Rights Reserved.