Nav

To Deploy a Mule Application to a Standalone Mule Runtime (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 CloudHub deployment as shown below:

    
                
             
    1
    2
    3
    4
    5
    6
    7
    8
    9
    
    <plugin>
      ...
      <configuration>
        <standaloneDeployment>
                  <muleHome>${mule.home.test}</muleHome>
              </standaloneDeployment>
      </configuration>
    
    </plugin>

    The example is using placeholder values. Configure each value with your own local Mule runtime 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:

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.

+