Contact Free trial Login

Deploy an Application to Runtime Fabric using Maven (Mule 4)

Runtime Fabric supports using Mule Maven Plugin 3.x to manage and deploy Mule applications. The information in this topic is specific to deploying a Mule application to Mule runtime engine 4.x.

To deploy Mule 3 applications using Mule Maven Plugin 2.x, see Deploy an Application to Runtime Fabric using Maven (Mule 3)

Prerequisites

Studio allows you to select only two project types when uploading an application to Exchange: example and template. To specify a different project type, publish your application using Maven.

Add the Mule Maven Plugin to a Mule Project

To add the Mule Maven Plugin, you need to add its maven dependency to the project:

<plugin>
  <groupId>org.mule.tools.maven</groupId>
  <artifactId>mule-maven-plugin</artifactId>
  <version>3.3.2</version>
  <extensions>true</extensions>
</plugin>
Enable extensions. If <extensions>true</extensions> is not present, the plugin does not work.

From this repository:

<pluginRepositories>
    <pluginRepository>
        <id>mule-public</id>
        <url>https://repository.mulesoft.org/nexus/content/repositories/releases</url>
    </pluginRepository>
</pluginRepositories>

This enables the Mule Maven Plugin in your project.

Deployment and Reference Information.

For deployment instructions using Mule Maven Plugin 3.x and complete reference information, see Deploy a Mule Application to Runtime Fabric.

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.