Nav

To Deploy a Mule Application Using the Mule Agent (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
    
    <plugin>
      ...
      <configuration>
        <agentDeployment>
          <uri>http://localhost:9999/</uri>
        </agentDeployment>
      </configuration>
    
    </plugin>

    The example is using placeholder values. Configure the URI value with your own remote server 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: