{"action":"created","issue":{"url":"https://api.github.com/repos/mulesoft/munit/issues/142","labels_url":"https://api.github.com/repos/mulesoft/munit/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/mulesoft/munit/issues/142/comments","events_url":"https://api.github.com/repos/mulesoft/munit/issues/142/events","html_url":"https://github.com/mulesoft/munit/issues/142","id":51570889,"number":142,"title":"Munit With APIKit Router Flows","user":{"login":"vikramuppala","id":6252904,"avatar_url":"https://avatars.githubusercontent.com/u/6252904?v=3","gravatar_id":"","url":"https://api.github.com/users/vikramuppala","html_url":"https://github.com/vikramuppala","followers_url":"https://api.github.com/users/vikramuppala/followers","following_url":"https://api.github.com/users/vikramuppala/following{/other_user}","gists_url":"https://api.github.com/users/vikramuppala/gists{/gist_id}","starred_url":"https://api.github.com/users/vikramuppala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikramuppala/subscriptions","organizations_url":"https://api.github.com/users/vikramuppala/orgs","repos_url":"https://api.github.com/users/vikramuppala/repos","events_url":"https://api.github.com/users/vikramuppala/events{/privacy}","received_events_url":"https://api.github.com/users/vikramuppala/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mulesoft/munit/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-12-10T15:27:48Z","updated_at":"2015-01-05T15:51:35Z","closed_at":"2014-12-11T15:04:46Z","body":"Hi ,\r\n\r\nCurrently i am using munit gui version on anypoint studio july version. Currently we have implemented raml based flows. The flows created by raml will have get and post methods. \r\n\r\nI am trying to create munit test cases for the flows(not the http +apikit router flow) and getting the\r\n below exception:\r\n\r\nmunit version is 3.5-M2\r\n\r\n++++++++++++\r\n\r\nException in thread \"main\" java.lang.RuntimeException: org.mule.api.lifecycle.LifecycleException: null\r\n\tat org.mule.munit.runner.mule.MunitSuiteRunner.<init>(MunitSuiteRunner.java:48)\r\n\tat org.mule.munit.runner.remote.MunitRemoteRunner.run(MunitRemoteRunner.java:40)\r\n\tat org.mule.munit.runner.remote.MunitRemoteRunner.main(MunitRemoteRunner.java:143)\r\nCaused by: org.mule.api.lifecycle.LifecycleException: null\r\n\tat org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:153)\r\n\tat org.mule.construct.FlowConstructLifecycleManager.fireStartPhase(FlowConstructLifecycleManager.java:92)\r\n\tat org.mule.construct.AbstractFlowConstruct.start(AbstractFlowConstruct.java:136)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237)\r\n\tat org.mule.lifecycle.RegistryLifecycleManager$RegistryLifecycleCallback.onTransition(RegistryLifecycleManager.java:273)\r\n\tat org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:152)\r\n\tat org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:123)\r\n\tat org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:76)\r\n\tat org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:136)\r\n\tat org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91)\r\n\tat org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87)\r\n\tat org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69)\r\n\tat org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61)\r\n\tat org.mule.DefaultMuleContext.start(DefaultMuleContext.java:278)\r\n\tat org.mule.munit.runner.MuleContextManager.startMule(MuleContextManager.java:68)\r\n\tat org.mule.munit.runner.MuleContextManager.startMule(MuleContextManager.java:63)\r\n\tat org.mule.munit.runner.mule.MunitSuiteRunner.<init>(MunitSuiteRunner.java:40)\r\n\t... 2 more\r\nCaused by: java.lang.NullPointerException\r\n\tat org.mule.module.apikit.AbstractConfiguration.getEndpointAddress(AbstractConfiguration.java:262)\r\n\tat org.mule.module.apikit.AbstractConfiguration.injectEndpointUri(AbstractConfiguration.java:232)\r\n\tat org.mule.module.apikit.AbstractConfiguration.loadApiDefinition(AbstractConfiguration.java:174)\r\n\tat org.mule.module.apikit.Router.startConfiguration(Router.java:53)\r\n\tat org.mule.module.apikit.AbstractRouter.start(AbstractRouter.java:48)\r\n\tat org.mule.processor.chain.AbstractMessageProcessorChain.start(AbstractMessageProcessorChain.java:94)\r\n\tat org.mule.construct.AbstractFlowConstruct.startIfStartable(AbstractFlowConstruct.java:322)\r\n\tat org.mule.construct.AbstractPipeline.doStart(AbstractPipeline.java:313)\r\n\tat org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:141)\r\n\tat org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:137)\r\n\tat org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138)\r\n\t... 22 more\r\n\r\nCan someone help me out to resolve the issue"},"comment":{"url":"https://api.github.com/repos/mulesoft/munit/issues/comments/68726875","html_url":"https://github.com/mulesoft/munit/issues/142#issuecomment-68726875","issue_url":"https://api.github.com/repos/mulesoft/munit/issues/142","id":68726875,"user":{"login":"singirp","id":8440011,"avatar_url":"https://avatars.githubusercontent.com/u/8440011?v=3","gravatar_id":"","url":"https://api.github.com/users/singirp","html_url":"https://github.com/singirp","followers_url":"https://api.github.com/users/singirp/followers","following_url":"https://api.github.com/users/singirp/following{/other_user}","gists_url":"https://api.github.com/users/singirp/gists{/gist_id}","starred_url":"https://api.github.com/users/singirp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singirp/subscriptions","organizations_url":"https://api.github.com/users/singirp/orgs","repos_url":"https://api.github.com/users/singirp/repos","events_url":"https://api.github.com/users/singirp/events{/privacy}","received_events_url":"https://api.github.com/users/singirp/received_events","type":"User","site_admin":false},"created_at":"2015-01-05T15:51:35Z","updated_at":"2015-01-05T15:51:35Z","body":"Hi @damiansima,\r\n\r\nI have updated the raml definition as below and could still see the NullPayload issue with 3.5-M3-SNAPSHOT.\r\nPlease let me know if this is not what you meant. I have also copied the pom for reference.\r\n\r\n```\r\n#%RAML 0.8\r\n---\r\ntitle: MUnit Example\r\nversion: v1.0\r\nbaseUri: http://localhost:8081/{title}\r\nmediaType: text/plain\r\n/munit:\r\n  get:\r\n    description: Invoke MUnit GET\r\n    responses:\r\n      200:\r\n        body:\r\n          text/plain    \r\n    \r\n  post:\r\n    description: Invoke MUnit POST\r\n    responses:\r\n      200:\r\n        body:\r\n          text/plain    \r\n```\r\n\r\nPOM: just for reference\r\n```\r\n<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\r\n<project xmlns=\"http://maven.apache.org/POM/4.0.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd\">\r\n\r\n\t<modelVersion>4.0.0</modelVersion>\r\n\t<groupId>com.mycompany</groupId>\r\n\t<artifactId>apikit-munit-test</artifactId>\r\n\t<packaging>mule</packaging>\r\n\t<version>1.0.0-SNAPSHOT</version>\r\n\r\n\t<properties>\r\n\t\t<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\r\n\t\t<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>\r\n\r\n\t\t<mule.version>3.5.1</mule.version>\r\n\t\t<eclipsePluginVersion>2.8</eclipsePluginVersion>\r\n\t\t<jdkName>JavaSE-1.7</jdkName>\r\n\t\t<jdk.version>1.7</jdk.version>\r\n\t\t<junit.version>4.9</junit.version>\r\n<!-- \t\t<munit.version>3.5-M2</munit.version> -->\r\n\t\t<munit.version>3.5-M3-SNAPSHOT</munit.version>\r\n\t</properties>\r\n\r\n\t<build>\r\n\t\t<!-- Use a newer version of the install plugin than what your Maven uses \r\n\t\t\tby default. The older version failed to install the project if there was \r\n\t\t\tno target/classes folder. Since we use mule packaging on the project we actually \r\n\t\t\tcreate and attach the zip that must be installed. -->\r\n\t\t<pluginManagement>\r\n\t\t\t<plugins>\r\n\t\t\t\t<plugin>\r\n\t\t\t\t\t<groupId>org.apache.maven.plugins</groupId>\r\n\t\t\t\t\t<artifactId>maven-install-plugin</artifactId>\r\n\t\t\t\t\t<version>2.3.1</version>\r\n\t\t\t\t</plugin>\r\n\t\t\t\t<!--This plugin's configuration is used to store Eclipse m2e settings \r\n\t\t\t\t\tonly. It has no influence on the Maven build itself. -->\r\n\t\t\t\t<plugin>\r\n\t\t\t\t\t<groupId>org.eclipse.m2e</groupId>\r\n\t\t\t\t\t<artifactId>lifecycle-mapping</artifactId>\r\n\t\t\t\t\t<version>1.0.0</version>\r\n\t\t\t\t\t<configuration>\r\n\t\t\t\t\t\t<lifecycleMappingMetadata>\r\n\t\t\t\t\t\t\t<pluginExecutions>\r\n\t\t\t\t\t\t\t\t<pluginExecution>\r\n\t\t\t\t\t\t\t\t\t<pluginExecutionFilter>\r\n\t\t\t\t\t\t\t\t\t\t<groupId>org.mule.tools</groupId>\r\n\t\t\t\t\t\t\t\t\t\t<artifactId>maven-mule-plugin</artifactId>\r\n\t\t\t\t\t\t\t\t\t\t<versionRange>[1.6,)</versionRange>\r\n\t\t\t\t\t\t\t\t\t\t<goals>\r\n\t\t\t\t\t\t\t\t\t\t\t<goal>attach-test-resources</goal>\r\n\t\t\t\t\t\t\t\t\t\t\t<goal>filter-resources\t\t</goal>\r\n\t\t\t\t\t\t\t\t\t\t</goals>\r\n\t\t\t\t\t\t\t\t\t</pluginExecutionFilter>\r\n\t\t\t\t\t\t\t\t\t<action>\r\n\t\t\t\t\t\t\t\t\t\t<ignore/>\r\n\t\t\t\t\t\t\t\t\t</action>\r\n\t\t\t\t\t\t\t\t</pluginExecution>\r\n\t\t\t\t\t\t\t</pluginExecutions>\r\n\t\t\t\t\t\t</lifecycleMappingMetadata>\r\n\t\t\t\t\t</configuration>\r\n\t\t\t\t</plugin>\r\n\t\t\t</plugins>\r\n\t\t</pluginManagement>\r\n\t\t<plugins>\r\n\t\t\t<plugin>\r\n\t\t\t\t<groupId>org.mule.tools</groupId>\r\n\t\t\t\t<artifactId>maven-mule-plugin</artifactId>\r\n\t\t\t\t<version>1.9</version>\r\n\t\t\t\t<extensions>true</extensions>\r\n\t\t\t\t<configuration>\r\n\t\t\t\t\t<copyToAppsDirectory>true</copyToAppsDirectory>\r\n\t\t\t\t<inclusions>\r\n                        <inclusion>\r\n                            <groupId>org.mule.modules</groupId>\r\n                            <artifactId>mule-module-apikit</artifactId>\r\n                        </inclusion>\r\n                    </inclusions>\r\n                </configuration>\r\n\t\t\t</plugin>\r\n\t\t\t<plugin>\r\n\t\t\t\t<groupId>org.apache.maven.plugins</groupId>\r\n\t\t\t\t<artifactId>maven-compiler-plugin</artifactId>\r\n\t\t\t\t<version>2.3.2</version>\r\n\t\t\t\t<configuration>\r\n\t\t\t\t\t<source>${jdk.version}</source>\r\n\t\t\t\t\t<target>${jdk.version}</target>\r\n\t\t\t\t\t<encoding>ISO-8859-1</encoding>\r\n\t\t\t\t</configuration>\r\n\t\t\t</plugin>\r\n\t\t\t<plugin>\r\n\t\t\t\t<artifactId>maven-assembly-plugin</artifactId>\r\n\t\t\t\t<version>2.2.1</version>\r\n\t\t\t\t<configuration>\r\n\t\t\t\t\t<descriptorRefs>\r\n\t\t\t\t\t\t<descriptorRef>project</descriptorRef>\r\n\t\t\t\t\t</descriptorRefs>\r\n\t\t\t\t</configuration>\r\n\t\t\t</plugin>\r\n\t\t\t<plugin>\r\n\t\t\t\t<groupId>org.apache.maven.plugins</groupId>\r\n\t\t\t\t<artifactId>maven-eclipse-plugin</artifactId>\r\n\t\t\t\t<version>${eclipsePluginVersion}</version>\r\n\t\t\t\t<configuration>\r\n\t\t\t\t\t<!-- by default download all sources when generating project files -->\r\n\t\t\t\t\t<downloadSources>true</downloadSources>\r\n\t\t\t\t</configuration>\r\n\t\t\t</plugin>\r\n\t\t\t<plugin>\r\n\t\t\t\t<groupId>org.codehaus.mojo</groupId>\r\n\t\t\t\t<artifactId>build-helper-maven-plugin</artifactId>\r\n\t\t\t\t<version>1.7</version>\r\n\t\t\t\t<executions>\r\n\t\t\t\t\t<execution>\r\n\t\t\t\t\t\t<id>add-resource</id>\r\n\t\t\t\t\t\t<phase>generate-resources</phase>\r\n\t\t\t\t\t\t<goals>\r\n\t\t\t\t\t\t\t<goal>add-resource</goal>\r\n\t\t\t\t\t\t</goals>\r\n\t\t\t\t\t</execution>\r\n\t\t\t\t</executions>\r\n\t\t\t\t<configuration>\r\n\t\t\t\t\t<resources>\r\n\t\t\t\t\t\t<resource>\r\n\t\t\t\t\t\t\t<directory>src/main/app/</directory>\r\n\t\t\t\t\t\t</resource>\r\n\t\t\t\t\t<resource>\r\n                            <directory>src/main/api/</directory>\r\n                        </resource>\r\n                    </resources>\r\n\t\t\t\t</configuration>\r\n\t\t\t</plugin>\r\n\t\t\t<plugin>\r\n\t\t        <groupId>org.codehaus.mojo</groupId>\r\n\t\t        <artifactId>exec-maven-plugin</artifactId>\r\n\t\t        <version>1.2.1</version>\r\n\t\t        <executions>\r\n\t\t          <execution>\r\n\t\t            <goals>\r\n\t\t              <goal>java</goal>\r\n\t\t            </goals>\r\n\t\t          </execution>\r\n\t\t        </executions>\r\n\t\t        <configuration>\r\n\t\t          <mainClass>org.mule.MuleServer</mainClass>\r\n\t\t          <arguments>\r\n\t\t            <argument>-config</argument>\r\n\t\t\t\t\t<argument>src/main/app/mule-config.xml</argument>\r\n\t\t          </arguments>\r\n\t\t        <classpathScope>compile</classpathScope>\r\n\t\t        </configuration>\r\n\t\t      </plugin>\r\n\t\t      \r\n\t\t      <!--Install clover-plugins-->\r\n            <plugin>\r\n                <groupId>org.apache.maven.plugins</groupId>\r\n                <artifactId>maven-dependency-plugin</artifactId>\r\n                <version>2.4</version>\r\n                <executions>\r\n                    <execution>\r\n                        <id>copy-clover-plugins</id>\r\n                        <phase>validate</phase>\r\n                        <goals>\r\n                            <goal>copy</goal>\r\n                        </goals>\r\n                        <configuration>\r\n                            <overWriteReleases>true</overWriteReleases>\r\n                            <overWriteSnapshots>true</overWriteSnapshots>\r\n                            <overWriteIfNewer>true</overWriteIfNewer>\r\n                            <stripVersion>true</stripVersion>\r\n\r\n                            <outputDirectory>${project.build.testOutputDirectory}</outputDirectory>\r\n                            <artifactItems>\r\n                                <artifactItem>\r\n                                    <groupId>com.cloveretl</groupId>\r\n                                    <artifactId>cloveretl-engine</artifactId>\r\n                                    <version>${mule.version}</version>\r\n                                    <type>zip</type>\r\n                                </artifactItem>\r\n                            </artifactItems>\r\n                        </configuration>\r\n                    </execution>\r\n                </executions>\r\n            </plugin>\r\n            <plugin>\r\n                <artifactId>maven-antrun-plugin</artifactId>\r\n                <version>1.7</version>\r\n                <executions>\r\n                    <execution>\r\n                        <phase>compile</phase>\r\n                        <configuration>\r\n                            <tasks>\r\n                                <!-- Using an ant task to deflate cloveretl-engine.zip -->\r\n                                <unzip dest=\"${project.build.testOutputDirectory}\" src=\"${project.build.testOutputDirectory}/cloveretl-engine.zip\"/>\r\n                            </tasks>\r\n                        </configuration>\r\n                        <goals>\r\n                            <goal>run</goal>\r\n                        </goals>\r\n                    </execution>\r\n                </executions>\r\n            </plugin>\r\n\t\t<plugin>\r\n                <groupId>org.mule.munit.tools</groupId>\r\n                <artifactId>munit-maven-plugin</artifactId>\r\n                <version>${munit.version}</version>\r\n                <executions>\r\n                    <execution>\r\n                        <id>test</id>\r\n                        <phase>test</phase>\r\n                        <goals>\r\n                            <goal>test</goal>\r\n                        </goals>\r\n                    </execution>\r\n                </executions>\r\n            </plugin>\r\n        </plugins>\r\n\t<testResources>\r\n            <testResource>\r\n                <directory>src/test/munit</directory>\r\n            </testResource>\r\n        </testResources>\r\n    </build>\r\n\t<!-- plugins for creating site reports -->\r\n\t<reporting>\r\n\t\t<plugins>\r\n\t\t\t<plugin>\r\n\t\t\t\t<groupId>org.apache.maven.plugins</groupId>\r\n\t\t\t\t<artifactId>maven-surefire-report-plugin</artifactId>\r\n\t\t\t\t<version>2.4.2</version>\r\n\t\t\t</plugin>\r\n\r\n\t\t\t<plugin>\r\n\t\t\t\t<groupId>org.apache.maven.plugins</groupId>\r\n\t\t\t\t<artifactId>maven-checkstyle-plugin</artifactId>\r\n\t\t\t\t<version>2.5</version>\r\n\t\t\t\t<configuration>\r\n\t\t\t\t\t<configLocation>http://mulesoft.org/download/attachments/92/checkstyle.xml?version=1</configLocation>\r\n\t\t\t\t</configuration>\r\n\t\t\t</plugin>\r\n\t\t\t<plugin>\r\n\t\t\t\t<groupId>org.apache.maven.plugins</groupId>\r\n\t\t\t\t<artifactId>maven-pmd-plugin</artifactId>\r\n\t\t\t\t<version>2.5</version>\r\n\t\t\t\t<configuration>\r\n\t\t\t\t\t<targetJdk>${jdk.version}</targetJdk>\r\n\t\t\t\t</configuration>\r\n\t\t\t</plugin>\r\n\t\t\t<plugin>\r\n\t\t\t\t<groupId>org.codehaus.mojo</groupId>\r\n\t\t\t\t<artifactId>cobertura-maven-plugin</artifactId>\r\n\t\t\t\t<version>2.5</version>\r\n\t\t\t</plugin>\r\n\t\t\t<plugin>\r\n\t\t\t\t<groupId>org.codehaus.mojo</groupId>\r\n\t\t\t\t<artifactId>taglist-maven-plugin</artifactId>\r\n\t\t\t\t<version>2.4</version>\r\n\t\t\t\t<configuration>\r\n\t\t\t\t\t<tags>\r\n\t\t\t\t\t\t<tag>TODO</tag>\r\n\t\t\t\t\t\t<tag>@todo</tag>\r\n\t\t\t\t\t\t<tag>FIXME</tag>\r\n\t\t\t\t\t\t<tag>@fixme</tag>\r\n\t\t\t\t\t\t<tag>@deprecated</tag>\r\n\t\t\t\t\t</tags>\r\n\t\t\t\t</configuration>\r\n\t\t\t</plugin>\r\n\t\t\t<plugin>\r\n\t\t\t\t<groupId>org.apache.maven.plugins</groupId>\r\n\t\t\t\t<artifactId>maven-jxr-plugin</artifactId>\r\n\t\t\t\t<version>2.2</version>\r\n\t\t\t</plugin>\r\n\t\t\t<plugin>\r\n\t\t\t\t<groupId>org.apache.maven.plugins</groupId>\r\n\t\t\t\t<artifactId>maven-javadoc-plugin</artifactId>\r\n\t\t\t\t<version>2.7</version>\r\n\t\t\t\t<configuration>\r\n\t\t\t\t\t<source>${jdk.version}</source>\r\n\t\t\t\t\t<links>\r\n\t\t\t\t\t\t<link>http://java.sun.com/j2ee/1.4/docs/api</link>\r\n\t\t\t\t\t\t<link>http://java.sun.com/j2se/1.4.2/docs/api</link>\r\n\t\t\t\t\t\t<link>http://java.sun.com/j2se/1.5.0/docs/api</link>\r\n\t\t\t\t\t</links>\r\n\t\t\t\t</configuration>\r\n\t\t\t</plugin>\r\n\t\t\t<plugin>\r\n\t\t\t\t<groupId>org.codehaus.mojo</groupId>\r\n\t\t\t\t<artifactId>jdepend-maven-plugin</artifactId>\r\n\t\t\t\t<version>2.0-beta-2</version>\r\n\t\t\t</plugin>\r\n\t\t\t<plugin>\r\n\t\t\t\t<groupId>org.codehaus.mojo</groupId>\r\n\t\t\t\t<artifactId>findbugs-maven-plugin</artifactId>\r\n\t\t\t\t<version>2.3.2</version>\r\n\t\t\t</plugin>\r\n\t\t</plugins>\r\n\t</reporting>\r\n\r\n\t<!-- Mule Dependencies -->\r\n\t<dependencies>\r\n\t\t<dependency>\r\n\t\t\t<groupId>org.mule</groupId>\r\n\t\t\t<artifactId>mule-core</artifactId>\r\n\t\t\t<version>${mule.version}</version>\r\n\t\t\t<scope>provided</scope>\r\n\t\t</dependency>\r\n\t\t<dependency>\r\n\t\t\t<groupId>com.mulesoft.muleesb.modules</groupId>\r\n\t\t\t<artifactId>mule-module-boot-ee</artifactId>\r\n\t\t\t<version>${mule.version}</version>\r\n\t\t\t<scope>provided</scope>\r\n\t    </dependency>\r\n\t\t<!-- Xml configuration -->\r\n\t\t<dependency>\r\n\t\t\t<groupId>org.mule.modules</groupId>\r\n\t\t\t<artifactId>mule-module-spring-config</artifactId>\r\n\t\t\t<version>${mule.version}</version>\r\n\t\t\t<scope>provided</scope>\r\n\t\t</dependency>\r\n\t\t<dependency>\r\n        \t<groupId>com.mulesoft.muleesb</groupId>\r\n\t\t\t<artifactId>mule-core-ee</artifactId>\r\n\t\t\t<version>${mule.version}</version>\r\n\t\t\t<scope>provided</scope>\r\n\t\t</dependency>\r\n\t\t<dependency>\r\n\t\t\t<groupId>com.mulesoft.muleesb.modules</groupId>\r\n\t\t\t<artifactId>mule-module-data-mapper</artifactId>\r\n\t\t\t<version>${mule.version}</version>\r\n\t\t</dependency>\r\n\t\t<!-- Xml configuration -->\r\n\t\t<dependency>\r\n\t\t\t<groupId>com.mulesoft.muleesb.modules</groupId>\r\n\t\t\t<artifactId>mule-module-spring-config-ee</artifactId>\r\n\t\t\t<version>${mule.version}</version>\r\n\t\t\t<scope>provided</scope>\r\n\t\t</dependency>\r\n\r\n\t\t<!-- Mule Transports -->\r\n\t\t<dependency>\r\n\t\t\t<groupId>org.mule.transports</groupId>\r\n\t\t\t<artifactId>mule-transport-file</artifactId>\r\n\t\t\t<version>${mule.version}</version>\r\n\t\t\t<scope>provided</scope>\r\n\t\t</dependency>\r\n\t\t<dependency>\r\n\t\t\t<groupId>org.mule.transports</groupId>\r\n\t\t\t<artifactId>mule-transport-http</artifactId>\r\n\t\t\t<version>${mule.version}</version>\r\n\t\t\t<scope>provided</scope>\r\n\t\t</dependency>\r\n\t\t<dependency>\r\n\t\t\t<groupId>org.mule.transports</groupId>\r\n\t\t\t<artifactId>mule-transport-jdbc</artifactId>\r\n\t\t\t<version>${mule.version}</version>\r\n\t\t\t<scope>provided</scope>\r\n\t\t</dependency>\r\n\t\t<dependency>\r\n\t\t\t<groupId>org.mule.transports</groupId>\r\n\t\t\t<artifactId>mule-transport-jms</artifactId>\r\n\t\t\t<version>${mule.version}</version>\r\n\t\t\t<scope>provided</scope>\r\n\t\t</dependency>\r\n\t\t<dependency>\r\n\t\t\t<groupId>org.mule.transports</groupId>\r\n\t\t\t<artifactId>mule-transport-vm</artifactId>\r\n\t\t\t<version>${mule.version}</version>\r\n\t\t\t<scope>provided</scope>\r\n\t\t</dependency>\r\n\t\t\r\n\t\t<!-- Mule Modules -->\r\n\t\t<dependency>\r\n\t\t\t<groupId>org.mule.modules</groupId>\r\n\t\t\t<artifactId>mule-module-client</artifactId>\r\n\t\t\t<version>${mule.version}</version>\r\n\t\t\t<scope>provided</scope>\r\n\t\t</dependency>\r\n\t\t<dependency>\r\n\t\t\t<groupId>org.mule.modules</groupId>\r\n\t\t\t<artifactId>mule-module-cxf</artifactId>\r\n\t\t\t<version>${mule.version}</version>\r\n\t\t\t<scope>provided</scope>\r\n\t\t</dependency>\r\n\t\t<dependency>\r\n\t\t\t<groupId>org.mule.modules</groupId>\r\n\t\t\t<artifactId>mule-module-management</artifactId>\r\n\t\t\t<version>${mule.version}</version>\r\n\t\t\t<scope>provided</scope>\r\n\t\t</dependency>\r\n\t\t<dependency>\r\n\t\t\t<groupId>org.mule.modules</groupId>\r\n\t\t\t<artifactId>mule-module-scripting</artifactId>\r\n\t\t\t<version>${mule.version}</version>\r\n\t\t\t<scope>provided</scope>\r\n\t\t</dependency>\r\n\t\t<dependency>\r\n\t\t\t<groupId>org.mule.modules</groupId>\r\n\t\t\t<artifactId>mule-module-sxc</artifactId>\r\n\t\t\t<version>${mule.version}</version>\r\n\t\t\t<scope>provided</scope>\r\n\t\t</dependency>\r\n\t\t<dependency>\r\n\t\t\t<groupId>org.mule.modules</groupId>\r\n\t\t\t<artifactId>mule-module-xml</artifactId>\r\n\t\t\t<version>${mule.version}</version>\r\n\t\t\t<scope>provided</scope>\r\n\t\t</dependency>\r\n\t\t<!-- for testing -->\r\n\t\t<dependency>\r\n\t\t\t<groupId>org.mule.tests</groupId>\r\n\t\t\t<artifactId>mule-tests-functional</artifactId>\r\n\t\t\t<version>${mule.version}</version>\r\n\t\t\t<scope>test</scope>\r\n\t\t</dependency>\r\n\t\t<dependency>\r\n\t\t\t<groupId>mockobjects</groupId>\r\n\t\t\t<artifactId>mockobjects-core</artifactId>\r\n\t\t\t<version>0.09</version>\r\n\t\t\t<scope>test</scope>\r\n\t\t</dependency>\r\n\t\t<dependency>\r\n\t\t\t<groupId>junit</groupId>\r\n\t\t\t<artifactId>junit</artifactId>\r\n\t\t\t<version>${junit.version}</version>\r\n\t\t\t<scope>test</scope>\r\n\t\t</dependency>\r\n\t\t<dependency>\r\n\t\t\t<groupId>com.cloveretl</groupId>\r\n\t\t\t<artifactId>cloveretl-engine</artifactId>\r\n\t\t\t<version>${mule.version}</version>\r\n\t\t\t<scope>test</scope>\r\n\t\t</dependency>\r\n\t<dependency>\r\n            <groupId>org.mule.modules</groupId>\r\n            <artifactId>mule-module-apikit</artifactId>\r\n            <version>1.5.0</version>\r\n        </dependency>\r\n    <dependency>\r\n            <groupId>org.mule.munit</groupId>\r\n            <artifactId>munit-assert</artifactId>\r\n            <version>${munit.version}</version>\r\n            <scope>test</scope>\r\n        </dependency>\r\n    <dependency>\r\n            <groupId>org.mule.munit</groupId>\r\n            <artifactId>munit-mock</artifactId>\r\n            <version>${munit.version}</version>\r\n            <scope>test</scope>\r\n        </dependency>\r\n    <dependency>\r\n            <groupId>org.mule.munit</groupId>\r\n            <artifactId>munit-common</artifactId>\r\n            <version>${munit.version}</version>\r\n            <scope>test</scope>\r\n        </dependency>\r\n    <dependency>\r\n            <groupId>org.mule.munit</groupId>\r\n            <artifactId>munit-runner</artifactId>\r\n            <version>${munit.version}</version>\r\n            <scope>test</scope>\r\n        </dependency>\r\n    <dependency>\r\n            <groupId>org.mule.modules</groupId>\r\n            <artifactId>mule-interceptor-module</artifactId>\r\n            <version>${munit.version}</version>\r\n            <scope>test</scope>\r\n        </dependency>\r\n    </dependencies>\r\n\t<repositories>\r\n          <repository>\r\n            <id>Central</id>\r\n            <name>Central</name>\r\n            <url>http://repo1.maven.org/maven2/</url>\r\n            <layout>default</layout>\r\n        </repository>\r\n        <repository>\r\n            <id>mulesoft-releases</id>\r\n            <name>MuleSoft Releases Repository</name>\r\n            <url>http://repository.mulesoft.org/releases/</url>\r\n            <layout>default</layout>\r\n        </repository>\r\n        <repository>\r\n            <id>mulesoft-snapshots</id>\r\n            <name>MuleSoft Snapshots Repository</name>\r\n            <url>http://repository.mulesoft.org/snapshots/</url>\r\n            <layout>default</layout>\r\n        </repository>\r\n    </repositories>\r\n    <pluginRepositories>\r\n        <pluginRepository>\r\n            <id>mulesoft-release</id>\r\n            <name>mulesoft release repository</name>\r\n            <layout>default</layout>\r\n            <url>http://repository.mulesoft.org/releases/</url>\r\n            <snapshots>\r\n                <enabled>false</enabled>\r\n            </snapshots>\r\n        </pluginRepository>\r\n    </pluginRepositories>\r\n</project>\r\n```"}}