title: Mulesoft Munit maven build failing
body: <p>Below is <code>pom.xml</code> I got some sample example in github, trying to build it, it is failing with below error.</p>
  
  <p>Can anyone facing same issue? I did google, many project I got it from github, till now, not even single project got built successfully. I wonder why these dependencies are not in place in maven repo. <strong><em>What is the maven repo I should chose which should have all set of Mulesoft dependencies which helps me to build in one shot ???</em></strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;
  &lt;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"&gt;
  
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;com.mms.mule&lt;/groupId&gt;
      &lt;artifactId&gt;explore-mule&lt;/artifactId&gt;
      &lt;version&gt;1.0.0-SNAPSHOT&lt;/version&gt;
      &lt;packaging&gt;mule&lt;/packaging&gt;
      &lt;name&gt;Mule explore-mule Application&lt;/name&gt;
  
      &lt;properties&gt;
          &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
          &lt;project.reporting.outputEncoding&gt;UTF-8&lt;/project.reporting.outputEncoding&gt;
  
          &lt;mule.version&gt;3.8.0&lt;/mule.version&gt;
          &lt;mule.tools.version&gt;1.2&lt;/mule.tools.version&gt;
          &lt;munit.version&gt;1.2.0&lt;/munit.version&gt;
          &lt;mule.munit.support.version&gt;3.8.0&lt;/mule.munit.support.version&gt;
      &lt;/properties&gt;
  
      &lt;build&gt;
          &lt;plugins&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.mule.tools.maven&lt;/groupId&gt;
                  &lt;artifactId&gt;mule-app-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;${mule.tools.version}&lt;/version&gt;
                  &lt;extensions&gt;true&lt;/extensions&gt;
                  &lt;configuration&gt;
                      &lt;copyToAppsDirectory&gt;true&lt;/copyToAppsDirectory&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.2.1&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;descriptorRefs&gt;
                          &lt;descriptorRef&gt;project&lt;/descriptorRef&gt;
                      &lt;/descriptorRefs&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;org.codehaus.mojo&lt;/groupId&gt;
                  &lt;artifactId&gt;build-helper-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;1.7&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;add-resource&lt;/id&gt;
                          &lt;phase&gt;generate-resources&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;add-resource&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;resources&gt;
                                  &lt;resource&gt;
                                      &lt;directory&gt;src/main/app/&lt;/directory&gt;
                                  &lt;/resource&gt;
                                  &lt;resource&gt;
                                      &lt;directory&gt;mappings/&lt;/directory&gt;
                                  &lt;/resource&gt;
                              &lt;/resources&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
              &lt;plugin&gt;
                  &lt;groupId&gt;com.mulesoft.munit.tools&lt;/groupId&gt;
                  &lt;artifactId&gt;munit-maven-plugin&lt;/artifactId&gt;
                  &lt;version&gt;${munit.version}&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;test&lt;/id&gt;
                          &lt;phase&gt;test&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;test&lt;/goal&gt;
                          &lt;/goals&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
                  &lt;configuration&gt;
                      &lt;coverage&gt;
                          &lt;runCoverage&gt;true&lt;/runCoverage&gt;
                          &lt;formats&gt;
                              &lt;format&gt;html&lt;/format&gt;
                          &lt;/formats&gt;
                      &lt;/coverage&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
          &lt;/plugins&gt;
          &lt;testResources&gt;
              &lt;testResource&gt;
                  &lt;directory&gt;src/test/munit&lt;/directory&gt;
              &lt;/testResource&gt;
              &lt;testResource&gt;
                  &lt;directory&gt;src/test/resources&lt;/directory&gt;
              &lt;/testResource&gt;
          &lt;/testResources&gt;
      &lt;/build&gt;
  
      &lt;!-- Mule Dependencies --&gt;
      &lt;dependencies&gt;
          &lt;!-- Xml configuration --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.mulesoft.muleesb&lt;/groupId&gt;
              &lt;artifactId&gt;mule-core-ee&lt;/artifactId&gt;
              &lt;version&gt;${mule.version}&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;!-- Xml configuration --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.mulesoft.muleesb.modules&lt;/groupId&gt;
              &lt;artifactId&gt;mule-module-spring-config-ee&lt;/artifactId&gt;
              &lt;version&gt;${mule.version}&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;!-- Mule Transports --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.mule.transports&lt;/groupId&gt;
              &lt;artifactId&gt;mule-transport-file&lt;/artifactId&gt;
              &lt;version&gt;${mule.version}&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.mule.transports&lt;/groupId&gt;
              &lt;artifactId&gt;mule-transport-http&lt;/artifactId&gt;
              &lt;version&gt;${mule.version}&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.mulesoft.muleesb.transports&lt;/groupId&gt;
              &lt;artifactId&gt;mule-transport-jdbc-ee&lt;/artifactId&gt;
              &lt;version&gt;${mule.version}&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.mulesoft.muleesb.transports&lt;/groupId&gt;
              &lt;artifactId&gt;mule-transport-jms-ee&lt;/artifactId&gt;
              &lt;version&gt;${mule.version}&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.mule.transports&lt;/groupId&gt;
              &lt;artifactId&gt;mule-transport-vm&lt;/artifactId&gt;
              &lt;version&gt;${mule.version}&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;!-- Mule Modules --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.mule.modules&lt;/groupId&gt;
              &lt;artifactId&gt;mule-module-scripting&lt;/artifactId&gt;
              &lt;version&gt;${mule.version}&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.mule.modules&lt;/groupId&gt;
              &lt;artifactId&gt;mule-module-xml&lt;/artifactId&gt;
              &lt;version&gt;${mule.version}&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;!-- for testing --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.mule.tests&lt;/groupId&gt;
              &lt;artifactId&gt;mule-tests-functional&lt;/artifactId&gt;
              &lt;version&gt;${mule.version}&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.mulesoft.weave&lt;/groupId&gt;
              &lt;artifactId&gt;mule-plugin-weave_2.11&lt;/artifactId&gt;
              &lt;version&gt;${mule.version}&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
              &lt;exclusions&gt;
                  &lt;exclusion&gt;
                      &lt;groupId&gt;org.threeten&lt;/groupId&gt;
                      &lt;artifactId&gt;threetenbp&lt;/artifactId&gt;
                  &lt;/exclusion&gt;
              &lt;/exclusions&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;cglib&lt;/groupId&gt;
              &lt;artifactId&gt;cglib&lt;/artifactId&gt;
              &lt;version&gt;3.2.2&lt;/version&gt;
              &lt;scope&gt;provided&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.mulesoft.munit&lt;/groupId&gt;
              &lt;artifactId&gt;mule-munit-support&lt;/artifactId&gt;
              &lt;version&gt;${mule.munit.support.version}&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;com.mulesoft.munit&lt;/groupId&gt;
              &lt;artifactId&gt;munit-runner&lt;/artifactId&gt;
              &lt;version&gt;${munit.version}&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;!-- https://mvnrepository.com/artifact/org.hamcrest/hamcrest-all --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.hamcrest&lt;/groupId&gt;
              &lt;artifactId&gt;hamcrest-all&lt;/artifactId&gt;
              &lt;version&gt;1.3&lt;/version&gt;
          &lt;/dependency&gt;
  
      &lt;/dependencies&gt;
  
      &lt;repositories&gt;
          &lt;repository&gt;
              &lt;id&gt;Central&lt;/id&gt;
              &lt;name&gt;Central&lt;/name&gt;
              &lt;url&gt;http://repo1.maven.org/maven2/&lt;/url&gt;
              &lt;layout&gt;default&lt;/layout&gt;
          &lt;/repository&gt;
          &lt;repository&gt;
              &lt;id&gt;mulesoft-releases&lt;/id&gt;
              &lt;name&gt;MuleSoft Releases Repository&lt;/name&gt;
              &lt;url&gt;http://repository.mulesoft.org/releases/&lt;/url&gt;
              &lt;layout&gt;default&lt;/layout&gt;
          &lt;/repository&gt;
      &lt;/repositories&gt;
      &lt;pluginRepositories&gt;
          &lt;pluginRepository&gt;
              &lt;id&gt;mulesoft-release&lt;/id&gt;
              &lt;name&gt;mulesoft release repository&lt;/name&gt;
              &lt;layout&gt;default&lt;/layout&gt;
              &lt;url&gt;http://repository.mulesoft.org/releases/&lt;/url&gt;
              &lt;snapshots&gt;
                  &lt;enabled&gt;false&lt;/enabled&gt;
              &lt;/snapshots&gt;
          &lt;/pluginRepository&gt;
      &lt;/pluginRepositories&gt;
  
  &lt;/project&gt;
  </code></pre>
  
  <p><strong>Error log:</strong></p>
  
  <pre><code>Downloading from central: https://repo.maven.apache.org/maven2/com/mulesoft/muleesb/modules/mule-module-spring-config-ee/3.8.0/mule-module-spring-config-ee-3.8.0.jar
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 01:51 min
  [INFO] Finished at: 2018-07-19T10:25:30+05:30
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal on project explore-mule: Could not resolve dependencies for project com.mms.mule:explore-mule:mule:1.0.0-SNAPSHOT: The following artifacts could not be resolved: com.mulesoft.muleesb:mule-core-ee:jar:3.8.0, com.mulesoft.muleesb.modules:mule-module-spring-config-ee:jar:3.8.0, com.mulesoft.muleesb.transports:mule-transport-jdbc-ee:jar:3.8.0, com.mulesoft.muleesb.transports:mule-transport-jms-ee:jar:3.8.0, com.mulesoft.weave:mule-plugin-weave_2.11:jar:3.8.0: Could not find artifact com.mulesoft.muleesb:mule-core-ee:jar:3.8.0 in Central (http://repo1.maven.org/maven2/) -&gt; [Help 1]
  [ERROR]
  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  [ERROR]
  [ERROR] For more information about the errors and possible solutions, please read the following articles:
  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
  </code></pre>