org.codehaus.mojo.retrotranslator
Class TranslateWarMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.groovy.maven.mojo.GroovyMojo
org.codehaus.mojo.retrotranslator.RetrotranslateMojoSupport
org.codehaus.mojo.retrotranslator.AttachingMojoSupport
org.codehaus.mojo.retrotranslator.TranslateWarMojo
- All Implemented Interfaces:
- groovy.lang.GroovyObject, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class TranslateWarMojo
- extends AttachingMojoSupport
Retrotranslates the classes in the war, as well as all jars in WEB-INF/lib.
Creates a new war with the specified classifier with these retrotranslations.
- Version:
- $Id: TranslateWarMojo.groovy 6588 2008-03-28 12:22:57Z bentmann $
Fields inherited from class org.codehaus.groovy.maven.mojo.GroovyMojo |
__timeStamp, __timeStamp__239_neverHappen1273605228808, sanitizeErrors |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.codehaus.mojo.retrotranslator.AttachingMojoSupport |
getAttach, getBaseName, getClassifier, getOutputDirectory, getProject, getProjectHelper, isAttach, setAttach, setBaseName, setClassifier, setOutputDirectory, setProject, setProjectHelper |
Methods inherited from class org.codehaus.mojo.retrotranslator.RetrotranslateMojoSupport |
getAdvanced, getBackport, getClasspathElements, getEmbed, getFailonwarning, getLazy, getRetainapi, getRetainflags, getSrcmask, getStripsign, getTarget, getVerbose, getVerify, getVerifyClasspath, isAdvanced, isFailonwarning, isLazy, isRetainapi, isRetainflags, isStripsign, isVerbose, isVerify, setAdvanced, setBackport, setClasspathElements, setEmbed, setFailonwarning, setLazy, setRetainapi, setRetainflags, setSrcmask, setStripsign, setTarget, setVerbose, setVerify, setVerifyClasspath |
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 |
TranslateWarMojo
public TranslateWarMojo()
getJarfileset
public org.codehaus.plexus.util.DirectoryScanner getJarfileset()
setJarfileset
public void setJarfileset(org.codehaus.plexus.util.DirectoryScanner value)
getTransformedWarDir
public java.io.File getTransformedWarDir()
setTransformedWarDir
public void setTransformedWarDir(java.io.File value)
getWarArchiver
public org.codehaus.plexus.archiver.war.WarArchiver getWarArchiver()
setWarArchiver
public void setWarArchiver(org.codehaus.plexus.archiver.war.WarArchiver value)
execute
public void execute()
- Specified by:
execute
in interface org.apache.maven.plugin.Mojo
- Overrides:
execute
in class RetrotranslateMojoSupport
configureRetrotranslator
protected void configureRetrotranslator(net.sf.retrotranslator.transformer.Retrotranslator trans)
- Specified by:
configureRetrotranslator
in class RetrotranslateMojoSupport
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass
in interface groovy.lang.GroovyObject
- Overrides:
getMetaClass
in class AttachingMojoSupport
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
- Specified by:
setMetaClass
in interface groovy.lang.GroovyObject
- Overrides:
setMetaClass
in class AttachingMojoSupport
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 AttachingMojoSupport
getProperty
public java.lang.Object getProperty(java.lang.String name)
- Specified by:
getProperty
in interface groovy.lang.GroovyObject
- Overrides:
getProperty
in class AttachingMojoSupport
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
- Specified by:
setProperty
in interface groovy.lang.GroovyObject
- Overrides:
setProperty
in class AttachingMojoSupport
Copyright © 2005-2010. All Rights Reserved.