@Mojo(name="deploy",
requiresProject=false,
defaultPhase=PRE_INTEGRATION_TEST)
public class CloudHubDeployMojo
extends AbstractCloudHubMojo
| Modifier and Type | Field and Description |
|---|---|
protected File |
application
Path of the application to be deployed, if not present uses project' default artifact.
|
protected String |
muleVersion
Mule Runtime Version.
|
protected org.apache.maven.project.MavenProject |
project |
protected Map<String,String> |
properties
Properties for CloudHub application.
|
protected int |
workers
Number of CloudHub workers, your account should have enough privileges.
|
| Constructor and Description |
|---|
CloudHubDeployMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
doExecute() |
protected File |
getApplication() |
execute@Parameter(property="cloudhub.workers",
defaultValue="1")
protected int workers
@Parameter(property="cloudhub.muleVersion") protected String muleVersion
@Parameter protected Map<String,String> properties
@Parameter(property="project",
required=true,
readonly=true)
protected org.apache.maven.project.MavenProject project
@Parameter(property="application") protected File application
public void doExecute()
throws org.apache.maven.plugin.MojoExecutionException
doExecute in class AbstractCloudHubMojoorg.apache.maven.plugin.MojoExecutionExceptionprotected File getApplication()
Copyright © 2015 MuleSoft Inc. All rights reserved.