Building and unit testing Mule project with Maven
Mule is a project management tool to manage dependency and you can use it to develop a project and test it. 1. Create a mule project and select use Maven checkbox to enable maven support to the project and click finish. Maven will start downloading the dependency it requires to build a project based on pom.xml example: project1 2. Create a mule flow by adding a http connector and set payload 3. Add the http listener configurations details as below Host: Localhost Port :8081 path: /hello Allowed Method: GET 4. Configure the Set Payload component to set the value to "Hello World!" Once you add http connector Maven adds the dependency in pom.xml and automatically download its required dependencies <dependency> ...