Package org.codehaus.cargo.maven3
Class DeployerRedeployMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.codehaus.cargo.maven3.AbstractCommonMojo
-
- org.codehaus.cargo.maven3.AbstractCargoMojo
-
- org.codehaus.cargo.maven3.AbstractDeployerMojo
-
- org.codehaus.cargo.maven3.DeployerRedeployMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
AliasedDeployerRedeployMojo
@Mojo(name="deployer-redeploy", requiresDependencyResolution=TEST, threadSafe=true) public class DeployerRedeployMojo extends AbstractDeployerMojo
Redeploy a deployable (i.e. undeploy and deploy it again) in a container.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.codehaus.cargo.maven3.AbstractDeployerMojo
AbstractDeployerMojo.DeployerListener
-
-
Field Summary
-
Fields inherited from class org.codehaus.cargo.maven3.AbstractCargoMojo
CONTEXT_KEY_CLASSLOADER, CONTEXT_KEY_CONTAINER
-
-
Constructor Summary
Constructors Constructor Description DeployerRedeployMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
performDeployerActionOnSingleDeployable(Deployer deployer, Deployable deployable, DeployableMonitor monitor)
Perform a deployer action on a single deployable.-
Methods inherited from class org.codehaus.cargo.maven3.AbstractDeployerMojo
createDeployer, createDeployerFactory, doExecute
-
Methods inherited from class org.codehaus.cargo.maven3.AbstractCargoMojo
calculateArtifact, calculateContainerArtifactId, createAutoDeployDeployable, createConfiguration, createContainer, createDefaultContainerElementIfNecessary, createDefaultInstallerElementIfNecessary, createLogger, createNewContainer, execute, getCargoProject, getConfigurationElement, getContainerElement, getDaemon, getDeployablesElement, getDeployerElement, isIgnoreFailures, setCargoProject, setConfigurationElement, setContainerElement, setDeployablesElement, setDeployerElement, setIgnoreFailures, waitDeployableMonitor
-
Methods inherited from class org.codehaus.cargo.maven3.AbstractCommonMojo
getProject
-
-
-
-
Method Detail
-
performDeployerActionOnSingleDeployable
protected void performDeployerActionOnSingleDeployable(Deployer deployer, Deployable deployable, DeployableMonitor monitor)
Description copied from class:AbstractDeployerMojo
Perform a deployer action on a single deployable.- Specified by:
performDeployerActionOnSingleDeployable
in classAbstractDeployerMojo
- Parameters:
deployer
- Deployer.deployable
- Deployable.monitor
- Deployable monitor.
-
-