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:
to install a milestone release (ie alpha, beta, rc releases), instead use 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.
Project setup¶
To setup your project using the cli, run the following command in your project root folder:
or using the shorter version
alternative if you don't have the CLI installed, use this maven command
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 theskip
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>