org.codehaus.mojo.retrotranslator
Class AttachingMojoSupport

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
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
Direct Known Subclasses:
TranslateProjectMojo, TranslateWarMojo

public abstract class AttachingMojoSupport
extends RetrotranslateMojoSupport

Support for mojos which attach.


Field Summary
protected  boolean attach
          Flag to enable/disable attaching retrotranslated artifacts.
protected  String baseName
          The base-name of the generated artifact.
protected  String classifier
          The classifier used when attaching the retrotranslated project artifact.
protected  File outputDirectory
          Where to put the translated artifact.
protected  org.apache.maven.project.MavenProject project
          The maven project.
protected  org.apache.maven.project.MavenProjectHelper projectHelper
           
 
Fields inherited from class org.codehaus.mojo.pluginsupport.MojoSupport
container, log
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AttachingMojoSupport()
           
 
Method Summary
 
Methods inherited from class org.codehaus.mojo.retrotranslator.RetrotranslateMojoSupport
configureRetrotranslator, 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
 

Field Detail

project

protected org.apache.maven.project.MavenProject project
The maven project.


projectHelper

protected org.apache.maven.project.MavenProjectHelper projectHelper

outputDirectory

protected File outputDirectory
Where to put the translated artifact.


baseName

protected String baseName
The base-name of the generated artifact.


attach

protected boolean attach
Flag to enable/disable attaching retrotranslated artifacts.


classifier

protected String classifier
The classifier used when attaching the retrotranslated project artifact.

Constructor Detail

AttachingMojoSupport

public AttachingMojoSupport()


Copyright © 2005-2007 Codehaus. All Rights Reserved.