Class DeployMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="deploy",
requiresProject=false,
defaultPhase=DEPLOY)
public class DeployMojo
extends LegacyDeployMojo
Deploy an application to Cloudhub or On-Prem/Hybrid
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringFile to deploy (only needed when invoking standalone without a valid pom).protected StringFilename (if not specified the file's name will be used)Application propertiesstatic final Stringstatic final StringProperties that should be inserted into a property file in the application archiveprotected StringLocation of property file to inserted with values specified infilePropertiesprotected booleanIf set to true, all secure properties will be inserted infilePropertiesrather than in Runtime Manager.protected booleanIgnore missing application properties fileprotected FileApplication property filestatic final Stringprotected booleanIf true deployment will be skippedprotected booleanIf true API provisioning will be skippedstatic final StringProvisioning variablesFields inherited from class com.aeontronix.enhancedmule.tools.LegacyDeployMojo
appName, appNameCHPrefix, appNameCHSuffix, appNameCHSuffixNPOnly, chMuleVersionName, clustered, cpuLimit, cpuReserved, customlog4j, deployRetryDelay, deployTimeout, enforceDeployingReplicasAcrossNodes, extMonitoring, force, forwardSslSession, httpInboundPublicUrl, injectEnvInfo, jvmArgs, lastMileSecurity, memoryLimit, memoryReserved, mergeExistingProperties, mergeExistingPropertiesOverride, muleVersionName, objectStoreV1, persistentQueues, persistentQueuesEncrypted, region, replicas, rtfRuntimeVersion, skipWait, staticIPs, updateStrategy, workerCount, workerTypeFields inherited from class com.aeontronix.enhancedmule.tools.AbstractEnvironmentalMojo
envFields inherited from class com.aeontronix.enhancedmule.tools.AbstractAnypointMojo
anypointClient, anypointPlatformUrl, authType, bearerToken, clientId, clientSecret, configProfile, DEFAULT_EMSERVER_URL, EM_CLIENT, emClient, enhancedMuleServerUrl, org, password, profile, project, session, settings, usernameFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.aeontronix.enhancedmule.tools.LegacyDeployMojo
getDeploymentParametersOverridesMethods inherited from class com.aeontronix.enhancedmule.tools.AbstractEnvironmentalMojo
getEMTProperties, getEnvironmentMethods inherited from class com.aeontronix.enhancedmule.tools.AbstractOrganizationalMojo
getOrganizationMethods inherited from class com.aeontronix.enhancedmule.tools.AbstractAnypointMojo
execute, findPrefixedProperties, findPrefixedProperties, getEmClient, getLegacyClient, getMavenProperties, getMavenProperty, getMavenProperty, getPropertyMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
VAR
- See Also:
-
CLOUDHUB
- See Also:
-
EMT_SECUREPROPERTIES
- See Also:
-
SECURE_PREFIX
- See Also:
-
skipProvisioning
@Parameter protected boolean skipProvisioningIf true API provisioning will be skipped -
skipDeploy
@Parameter protected boolean skipDeployIf true deployment will be skipped -
appFile
File to deploy (only needed when invoking standalone without a valid pom). To deploy from exchange use uri in the format ofexchange://[orgId]:[groupId]:[artifactId]:[version]
orexchange://[groupId]:[artifactId]:[version]
-
appFilename
Filename (if not specified the file's name will be used) -
appProperties
@Parameter(property="anypoint.deploy.properties", required=false) protected Map<String,String> appPropertiesApplication properties -
propertyfile
Application property file -
ignoreMissingPropertyFile
@Parameter(property="anypoint.deploy.propertyfile.ignoremissing", required=false) protected boolean ignoreMissingPropertyFileIgnore missing application properties file -
fileProperties
@Parameter(property="anypoint.deploy.fileproperties", required=false) protected Map<String,String> filePropertiesProperties that should be inserted into a property file in the application archive- See Also:
-
filePropertiesPath
@Parameter(property="anypoint.deploy.fileproperties.path", required=false, defaultValue="config.properties") protected String filePropertiesPathLocation of property file to inserted with values specified infileProperties -
filePropertiesSecure
@Parameter(property="anypoint.deploy.fileproperties.secure", required=false, defaultValue="false") protected boolean filePropertiesSecureIf set to true, all secure properties will be inserted infilePropertiesrather than in Runtime Manager. -
vars
Provisioning variables
-
-
Constructor Details
-
DeployMojo
public DeployMojo()
-
-
Method Details
-
doExecute
- Specified by:
doExecutein classAbstractAnypointMojo- Throws:
Exception
-