|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.codehaus.cargo.maven2.AbstractCommonMojo
org.codehaus.cargo.maven2.AbstractCargoMojo
org.codehaus.cargo.maven2.ContainerInstallMojo
public class ContainerInstallMojo
Installs a container into a given directory. If the container is already installed nothing
happens. The container is defined using the <container>
element as described
in the Cargo Maven2 plugin
reference guide.
Field Summary |
---|
Fields inherited from class org.codehaus.cargo.maven2.AbstractCargoMojo |
---|
CONTEXT_KEY_CONTAINER |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
ContainerInstallMojo()
|
Method Summary | |
---|---|
void |
doExecute()
Executes the plugin. |
Methods inherited from class org.codehaus.cargo.maven2.AbstractCargoMojo |
---|
containsAutoDeployable, createAutoDeployDeployable, createConfiguration, createContainer, createLogger, createNewContainer, execute, getCargoProject, getConfigurationElement, getContainerElement, getDeployerElement, getFileHandler, loadEmbeddedContainerDependencies, setCargoProject, setConfigurationElement, setContainerElement, setDeployerElement, setFileHandler |
Methods inherited from class org.codehaus.cargo.maven2.AbstractCommonMojo |
---|
getProject |
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 |
---|
public ContainerInstallMojo()
Method Detail |
---|
public void doExecute() throws org.apache.maven.plugin.MojoExecutionException
This method must be implemented by all Mojos extending this class. The
reason for this pattern is because we want the AbstractCargoMojo.execute()
method to always be called
so that necessary plugin initialization can be performed. Without this pattern Mojos
extending this class could "forget" to call super.execute()
thus leading to
unpredictible results.
doExecute
in class AbstractCargoMojo
org.apache.maven.plugin.MojoExecutionException
- in case of errorAbstractCargoMojo.doExecute()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |