org.apache.geronimo.mavenplugins.car
Class PlanProcessorMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.pluginsupport.MojoSupport
          extended by org.apache.geronimo.mavenplugins.car.AbstractCarMojo
              extended by org.apache.geronimo.mavenplugins.car.PlanProcessorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

public class PlanProcessorMojo
extends AbstractCarMojo

Add module id and dependencies to a plan and process with velocity


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.geronimo.mavenplugins.car.AbstractCarMojo
AbstractCarMojo.ArtifactLookupImpl
 
Field Summary
protected  String planFileName
          Name of the unprocessed source and processed target plan file.
protected  File sourceDir
          Location of unproccesed plan, normally missing moduleId and dependencies.
protected  File targetDir
          Directory to put the processed plan in.
protected  File targetFile
          XXX
 
Fields inherited from class org.apache.geronimo.mavenplugins.car.AbstractCarMojo
artifactFactory, artifactRepository, basedir, dependencyHelper, 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
PlanProcessorMojo()
           
 
Method Summary
protected  void doExecute()
           
 
Methods inherited from class org.apache.geronimo.mavenplugins.car.AbstractCarMojo
generateExplicitVersionProperties, geronimoToMavenArtifact, getArchiveFile, getArtifactRepository, getDependencies, getProject, includeDependency, init, isModuleArtifact, mavenToGeronimoArtifact, mavenToGeronimoArtifact, resolveDependency
 
Methods inherited from class org.codehaus.mojo.pluginsupport.MojoSupport
contextualize, createArtifact, execute, getArtifact, getArtifactFactory, getArtifactResolver, getProjectArtifacts, getProjectArtifacts, getProjectArtifacts, 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

sourceDir

protected File sourceDir
Location of unproccesed plan, normally missing moduleId and dependencies.


targetDir

protected File targetDir
Directory to put the processed plan in.


planFileName

protected String planFileName
Name of the unprocessed source and processed target plan file.


targetFile

protected File targetFile
XXX

Constructor Detail

PlanProcessorMojo

public PlanProcessorMojo()
Method Detail

doExecute

protected void doExecute()
                  throws Exception
Overrides:
doExecute in class org.codehaus.mojo.pluginsupport.MojoSupport
Throws:
Exception


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.