org.apache.geronimo.mavenplugins.geronimo.module
Class DeployModuleMojo

java.lang.Object
  extended byorg.apache.maven.plugin.AbstractMojo
      extended byorg.apache.geronimo.genesis.MojoSupport
          extended byorg.apache.geronimo.genesis.AntMojoSupport
              extended byorg.apache.geronimo.mavenplugins.geronimo.GeronimoMojoSupport
                  extended byorg.apache.geronimo.mavenplugins.geronimo.reporting.ReportingMojoSupport
                      extended byorg.apache.geronimo.mavenplugins.geronimo.module.ModuleMojoSupport
                          extended byorg.apache.geronimo.mavenplugins.geronimo.module.DeployModuleMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
DeployMojo

public class DeployModuleMojo
extends ModuleMojoSupport

Deploy modules (and optionally starting them) to a Geronimo server.

Version:
$Rev: 450613 $ $Date: 2006-09-27 15:45:46 -0700 (Wed, 27 Sep 2006) $

Field Summary
protected  File moduleArchive
          A file which points to a specific module's jar | war | ear | rar archive.
 
Fields inherited from class org.apache.geronimo.mavenplugins.geronimo.module.ModuleMojoSupport
modules
 
Fields inherited from class org.apache.geronimo.mavenplugins.geronimo.reporting.ReportingMojoSupport
logFile, logOutput, logOutputDirectory, reporters
 
Fields inherited from class org.apache.geronimo.mavenplugins.geronimo.GeronimoMojoSupport
artifactFactory, artifactRepository, artifactResolver, hostname, password, port, project, username
 
Fields inherited from class org.apache.geronimo.genesis.AntMojoSupport
ant
 
Fields inherited from class org.apache.geronimo.genesis.MojoSupport
log
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
DeployModuleMojo()
           
 
Method Summary
protected  void doExecute()
           
protected  String getGoalName()
          Sub-class must override to provide the goal name.
 
Methods inherited from class org.apache.geronimo.mavenplugins.geronimo.module.ModuleMojoSupport
findModules, getDeploymentManager, getModuleId, isModuleStarted, logModules, logModules, startModule, stopModule, undeployModule, waitFor
 
Methods inherited from class org.apache.geronimo.mavenplugins.geronimo.reporting.ReportingMojoSupport
execute, getLogFile
 
Methods inherited from class org.apache.geronimo.mavenplugins.geronimo.GeronimoMojoSupport
getArtifactFactory, getArtifactRepository, getArtifactResolver, getProject
 
Methods inherited from class org.apache.geronimo.genesis.AntMojoSupport
createFileSet, createTask, inheritProperties, init, initAntLogger, mkdir, setProperty
 
Methods inherited from class org.apache.geronimo.genesis.MojoSupport
createArtifact, getArtifact
 
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

moduleArchive

protected File moduleArchive
A file which points to a specific module's jar | war | ear | rar archive. If this parameter is set, then it will be used instead of from the modules configuration.

Constructor Detail

DeployModuleMojo

public DeployModuleMojo()
Method Detail

doExecute

protected void doExecute()
                  throws Exception
Throws:
Exception

getGoalName

protected String getGoalName()
Description copied from class: ReportingMojoSupport
Sub-class must override to provide the goal name.

Specified by:
getGoalName in class ReportingMojoSupport
Returns:
The name of the goal.


Copyright © 2006 Apache Software Foundation. All Rights Reserved.