- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="deploy",
requiresProject=true,
defaultPhase=PRE_INTEGRATION_TEST)
public class DeployMojo
extends AbstractMuleMojo
Installs and starts a Mule ESB Standalone server and deploys a list of applications.
Downloads a Mule ESB distribution, CE or EE, from a configured Maven repository (Available in pom.xml or settings.xml). You can specify the full Maven coordinates using muleDistribution tag, or you can just configure muleVersion tag and let the plugin use the default groupId and artifactId for the Enterprise distribution.
Optionally you can specify a list of Mule applications to be deployed, if you don't configure it, it will try to deploy the primary packaged artifact for the Maven project.
You can send properties to start the Mule Server (don't forget to use -M-D for Mule properties).
You can configure a deployment timeout using deploymentTimeout tag.
- Since:
- 1.0
- Author:
- Ale Sequeira
- See Also:
UndeployMojo,
Undeployer,
MuleProcessController