Class DeployMojo

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 Details

    • VAR

      public static final String VAR
      See Also:
    • CLOUDHUB

      public static final String CLOUDHUB
      See Also:
    • EMT_SECUREPROPERTIES

      public static final String EMT_SECUREPROPERTIES
      See Also:
    • SECURE_PREFIX

      public static final String SECURE_PREFIX
      See Also:
    • skipProvisioning

      @Parameter protected boolean skipProvisioning
      If true API provisioning will be skipped
    • skipDeploy

      @Parameter protected boolean skipDeploy
      If true deployment will be skipped
    • appFile

      @Parameter protected String appFile
      File to deploy (only needed when invoking standalone without a valid pom). To deploy from exchange use uri in the format of
      exchange://[orgId]:[groupId]:[artifactId]:[version]
      or
      exchange://[groupId]:[artifactId]:[version]
    • appFilename

      @Parameter protected String appFilename
      Filename (if not specified the file's name will be used)
    • properties

      @Parameter(property="anypoint.deploy.properties", required=false) protected Map<String,String> properties
      Application properties
    • propertyfile

      @Parameter protected String propertyfile
      Application property file
    • ignoreMissingPropertyFile

      @Parameter(property="anypoint.deploy.propertyfile.ignoremissing", required=false) protected boolean ignoreMissingPropertyFile
      Ignore missing application properties file
    • fileProperties

      @Parameter(property="anypoint.deploy.fileproperties", required=false) protected Map<String,String> fileProperties
      Properties 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 filePropertiesPath
      Location of property file to inserted with values specified in fileProperties
    • filePropertiesSecure

      @Parameter(property="anypoint.deploy.fileproperties.secure", required=false, defaultValue="false") protected boolean filePropertiesSecure
      If set to true, all secure properties will be inserted in fileProperties rather than in Runtime Manager.
    • vars

      @Parameter protected Map<String,String> vars
      Provisioning variables
  • Constructor Details

    • DeployMojo

      public DeployMojo()
  • Method Details