Skip to content

Setup

Command Line Tool

It is recommended for convenience to install the EMT CLI tool.

Mac (Homebrew)

You can install EMT via homebrew by using the following commands:

brew tap aeontronix/enhancedmule
brew install emt

to install a milestone release (ie alpha, beta, rc releases), instead use emt-milestone:

brew tap aeontronix/enhancedmule
brew install emt-milestone

Windows

A windows .exe executable version of emt can be downloaded here

Others

A binary zip archive can be downloaded here

A binary tbz2 archive can be downloaded here

Alternative to EMT CLI: Maven Shell

Instead of install the EMT CLI, you can instead use maven using the following command.

mvn com.aeontronix.enhanced-mule:enhanced-mule-tools-maven-plugin:1.4.62:shell

Project setup

To setup your project using the cli, run the following command in your project root folder:

emt application enhance

or using the shorter version

emt app enh

alternative if you don't have the CLI installed, use this maven command

mvn com.aeontronix.enhanced-mule:enhanced-mule-tools-maven-plugin:1.4.62:shell "-Dcmd=app enh"

In order to add use enhanced mule tools to deploy your application, you should make the following changes to your pom.xml:

  • Add the enhanced-mule-tools-maven-plugin
  • Set property maven.deploy.skip to true
  • Disable the mule plugin exchange-mule-maven-plugin (unfortunately this can't be done via property file at this time, so you need to declare it in your pom and set the skip property to true)
<project>
  <properties>
      <maven.deploy.skip>true</maven.deploy.skip>
  </properties>
  <build>
      <plugins>
          <plugin>
              <groupId>org.mule.tools.maven</groupId>
              <artifactId>exchange-mule-maven-plugin</artifactId>
              <version>0.0.17</version>
              <configuration>
                  <skip>true</skip>
              </configuration>
          </plugin>
          <plugin>
              <groupId>com.aeontronix.enhanced-mule</groupId>
              <artifactId>enhanced-mule-tools-maven-plugin</artifactId>
              <version>1.4.62</version>
              <extensions>true</extensions>
              <executions>
                  <execution>
                      <goals>
                          <goal>process-descriptor</goal>
                          <goal>deploy</goal>
                      </goals>
                  </execution>
              </executions>
          </plugin>
      </plugins>
  </build>
</project>