org.apache.geronimo.mavenplugins.geronimo.module
Class UndeployModuleMojo

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.StartStopUndeployMojoSupport
                              extended byorg.apache.geronimo.mavenplugins.geronimo.module.UndeployModuleMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
UndeployMojo

public class UndeployModuleMojo
extends StartStopUndeployMojoSupport

Undeploy a module from a running Geronimo server. If the module is running, it is stopped by default.

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

Field Summary
 
Fields inherited from class org.apache.geronimo.mavenplugins.geronimo.module.StartStopUndeployMojoSupport
moduleId
 
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
UndeployModuleMojo()
           
 
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.StartStopUndeployMojoSupport
init
 
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, 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
 

Constructor Detail

UndeployModuleMojo

public UndeployModuleMojo()
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.