@Mojo(name="deploy",
requiresProject=true)
public class DeployMojo
extends AbstractMuleMojo
UndeployMojo,
MuleProcessControllerAbstractMuleMojo.DeploymentType| Modifier and Type | Field and Description |
|---|---|
protected org.codehaus.plexus.archiver.manager.ArchiverManager |
archiverManager |
protected String[] |
arguments
List of Mule Runtime Standalone command line arguments.
|
protected boolean |
community
When set to true the plugin will use Mule Standalone Community Edition.
|
protected Long |
deploymentTimeout
Deployment timeout in milliseconds.
|
protected List<File> |
libs
List of external libs (Jar files) to be added to MULE_HOME/user/lib directory.
|
protected Map<String,String> |
properties
CloudHub properties.
|
protected String |
region
Region to deploy the application in Cloudhub.
|
protected Integer |
workers
Number of workers for the deployment of the application in Cloudhub.
|
protected String |
workerType
Type of workers for the deployment of the application in Cloudhub.
|
application, applicationName, armInsecure, artifactFactory, businessGroup, decrypter, deploymentType, domain, environment, localRepository, mavenProject, muleHome, muleVersion, password, script, server, settings, size, skip, target, targetType, timeout, uri, username| Constructor and Description |
|---|
DeployMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
doExecute() |
void |
standalone() |
addDependencies, addDomain, execute, executeGroovyScript, getDependency, initializeApplication, initializeEnvironment, readFile, resolveMavenProjectArtifact@Component protected org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager
@Parameter(readonly=true,
required=false,
defaultValue="false",
property="mule.community")
protected boolean community
@Parameter(property="mule.deployment.timeout",
defaultValue="60000",
required=true)
protected Long deploymentTimeout
@Parameter(property="mule.arguments",
required=false)
protected String[] arguments
-M-D.
If you want to add a System property for the Wrapper don't forget to prepend -D.
Example: <arguments><argument>-M-Djdbc.url=jdbc:oracle:thin:@myhost:1521:orcl</argument></arguments>
@Parameter protected List<File> libs
@Parameter(property="cloudhub.region",
defaultValue="us-east-1")
protected String region
@Parameter(property="cloudhub.workers") protected Integer workers
@Parameter(defaultValue="Medium",
property="cloudhub.workerType")
protected String workerType
public void doExecute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
doExecute in class AbstractMuleMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic void standalone()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2017. All rights reserved.