public class ContainerStopMojo extends AbstractCargoMojo
CONTEXT_KEY_CONTAINER
Constructor and Description |
---|
ContainerStopMojo() |
Modifier and Type | Method and Description |
---|---|
void |
doExecute()
Executes the plugin.
|
containsAutoDeployable, createAutoDeployDeployable, createConfiguration, createContainer, createLogger, createNewContainer, execute, getCargoProject, getConfigurationElement, getContainerElement, getDeployerElement, getFileHandler, loadEmbeddedContainerDependencies, setCargoProject, setConfigurationElement, setContainerElement, setDeployerElement, setFileHandler
getProject
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()
Copyright © 2004-2013 Codehaus. All Rights Reserved.