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

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.pluginsupport.MojoSupport
          extended by org.codehaus.mojo.pluginsupport.ant.AntMojoSupport
              extended by org.apache.geronimo.mavenplugins.geronimo.GeronimoMojoSupport
                  extended by org.apache.geronimo.mavenplugins.geronimo.reporting.ReportingMojoSupport
                      extended by org.apache.geronimo.mavenplugins.geronimo.module.ModuleMojoSupport
                          extended by org.apache.geronimo.mavenplugins.geronimo.module.DeployModuleMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
Direct Known Subclasses:
DeployMojo

public class DeployModuleMojo
extends ModuleMojoSupport

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


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, stopOnFailure
 
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
artifactRepository, hostname, password, port, project, username
 
Fields inherited from class org.codehaus.mojo.pluginsupport.ant.AntMojoSupport
ant
 
Fields inherited from class org.codehaus.mojo.pluginsupport.MojoSupport
container, log
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
DeployModuleMojo()
           
 
Method Summary
protected  void doExecute()
           
protected  String getFullClassName()
          Sub-class must override to provide the goal name.
 
Methods inherited from class org.apache.geronimo.mavenplugins.geronimo.module.ModuleMojoSupport
findModules, getDeploymentManager, getModuleId, getNonRunningModules, 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
getArtifactRepository, getProject
 
Methods inherited from class org.codehaus.mojo.pluginsupport.ant.AntMojoSupport
createFileSet, createTask, inheritProperties, init, initAntLogger, mkdir, setProperty, setSystemProperty, setSystemProperty
 
Methods inherited from class org.codehaus.mojo.pluginsupport.MojoSupport
contextualize, createArtifact, 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

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
Overrides:
doExecute in class org.codehaus.mojo.pluginsupport.MojoSupport
Throws:
Exception

getFullClassName

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

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


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.