Nav

To Add the Mule Maven Plugin to a Project

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


         
      
1
2
3
4
5
6
<plugin>
  <groupId>org.mule.tools.maven</groupId>
  <artifactId>mule-maven-plugin</artifactId>
  <version>3.0.0</version>
  <extensions>true</extensions> (1)
</plugin>
1 It’s important to enable extensions for this plugin.

From this repository:


         
      
1
2
3
4
5
6
<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.

In this topic: