org.codehaus.mojo.retrotranslator
Class TranslateWarMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.pluginsupport.MojoSupport
          extended by org.codehaus.mojo.retrotranslator.RetrotranslateMojoSupport
              extended by org.codehaus.mojo.retrotranslator.AttachingMojoSupport
                  extended by org.codehaus.mojo.retrotranslator.TranslateWarMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

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.


Field Summary
 
Fields inherited from class org.codehaus.mojo.retrotranslator.AttachingMojoSupport
attach, baseName, classifier, outputDirectory, project, projectHelper
 
Fields inherited from class org.codehaus.mojo.pluginsupport.MojoSupport
container, log
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
TranslateWarMojo()
           
 
Method Summary
protected  void configureRetrotranslator(net.sf.retrotranslator.transformer.Retrotranslator retrotranslator)
           
protected  void doExecute()
           
 
Methods inherited from class org.codehaus.mojo.pluginsupport.MojoSupport
contextualize, createArtifact, execute, getArtifact, getArtifactFactory, getArtifactRepository, getArtifactResolver, getProject, getProjectArtifacts, getProjectArtifacts, getProjectArtifacts, init, resolveArtifact, 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

TranslateWarMojo

public TranslateWarMojo()
Method Detail

doExecute

protected void doExecute()
                  throws Exception
Overrides:
doExecute in class RetrotranslateMojoSupport
Throws:
Exception

configureRetrotranslator

protected void configureRetrotranslator(net.sf.retrotranslator.transformer.Retrotranslator retrotranslator)
                                 throws Exception
Specified by:
configureRetrotranslator in class RetrotranslateMojoSupport
Throws:
Exception


Copyright © 2005-2007 Codehaus. All Rights Reserved.