Free MuleSoft CONNECT Keynote & Expo Pass Available!

Register now+
Nav

To Deploy a Mule Application Using ARM API (Mule Maven Plugin)

  1. Make sure you added the Mule Maven Plugin to your pom.xml file.

  2. Inside the plugin you element, add a configuration for your ARM deployment as shown below:

    
                
             
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    
    <plugin>
      ...
        <configuration>
          <armDeployment>
              <uri>https://anypoint.mulesoft.com</uri>
              <target>${target}</target>
              <targetType>${target.type}</targetType>
              <username>${username}</username>
              <password>${password}</password>
              <environment>${environment}</environment>
          </armDeployment>
        </configuration>
    
    </plugin>

    The example is using placeholder values. Configure each value with your own ARM information.

  3. From the command line in your project’s folder, package the application and run the deploy goal:

    
                
             
    1
    
    > mvn clean package deploy -DmuleDeploy

In this topic: