org.codehaus.mojo.shitty
Class ShittyMojoSupport
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.groovy.maven.mojo.GroovyMojo
org.codehaus.mojo.shitty.ShittyMojoSupport
- All Implemented Interfaces:
- groovy.lang.GroovyObject, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- CleanMojo, InstallMojo, TestMojo
public abstract class ShittyMojoSupport
- extends org.codehaus.groovy.maven.mojo.GroovyMojo
Support for super helpful integration test mojos.
- Version:
- $Id: ShittyMojoSupport.groovy 6725 2008-04-08 12:00:40Z user57 $
- Author:
- Jason Dillon
Fields inherited from class org.codehaus.groovy.maven.mojo.GroovyMojo |
__timeStamp, __timeStamp__239_neverHappen1237298031314, sanitizeErrors |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
groovy.lang.MetaClass |
getMetaClass()
|
org.apache.maven.project.MavenProject |
getProject()
|
java.lang.Object |
getProperty(java.lang.String name)
|
java.lang.Object |
invokeMethod(java.lang.String name,
java.lang.Object args)
|
protected org.apache.maven.shared.model.fileset.FileSet |
resolveFileSet(org.apache.maven.shared.model.fileset.FileSet fileset)
The file-management API is kinda dumb doesn't actually use files for holding data
and does not properly resolve them relatively to the Maven project, so we have to
do that here to make it work in the reactor. |
void |
setMetaClass(groovy.lang.MetaClass metaClass)
|
void |
setProject(org.apache.maven.project.MavenProject value)
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
|
Methods inherited from class org.codehaus.groovy.maven.mojo.GroovyMojo |
afterExecute, beforeExecute, fail, fail, getAnt |
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 |
Methods inherited from interface org.apache.maven.plugin.Mojo |
execute |
ShittyMojoSupport
public ShittyMojoSupport()
getProject
public org.apache.maven.project.MavenProject getProject()
setProject
public void setProject(org.apache.maven.project.MavenProject value)
resolveFileSet
protected org.apache.maven.shared.model.fileset.FileSet resolveFileSet(org.apache.maven.shared.model.fileset.FileSet fileset)
- The file-management API is kinda dumb doesn't actually use files for holding data
and does not properly resolve them relatively to the Maven project, so we have to
do that here to make it work in the reactor.
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass
in interface groovy.lang.GroovyObject
- Overrides:
getMetaClass
in class org.codehaus.groovy.maven.mojo.GroovyMojo
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
- Specified by:
setMetaClass
in interface groovy.lang.GroovyObject
- Overrides:
setMetaClass
in class org.codehaus.groovy.maven.mojo.GroovyMojo
invokeMethod
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.Object args)
- Specified by:
invokeMethod
in interface groovy.lang.GroovyObject
- Overrides:
invokeMethod
in class org.codehaus.groovy.maven.mojo.GroovyMojo
getProperty
public java.lang.Object getProperty(java.lang.String name)
- Specified by:
getProperty
in interface groovy.lang.GroovyObject
- Overrides:
getProperty
in class org.codehaus.groovy.maven.mojo.GroovyMojo
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
- Specified by:
setProperty
in interface groovy.lang.GroovyObject
- Overrides:
setProperty
in class org.codehaus.groovy.maven.mojo.GroovyMojo
Copyright © 2007-2009. All Rights Reserved.