title: Unable to download Maven dependency - AnypointStudio
body: <p>I am running into an issue where I am unable to download dependencies properly for my Mulesoft project. I have successfully installed everything from my home PC, but my work PC seems to be struggling.</p>
  
  <p>Things I have tried:</p>
  
  <ol>
  <li><p>mvn clean install</p></li>
  <li><p>mvn clean install -U</p></li>
  <li>mvn compile</li>
  <li>Everything that is involved with setting 'Anypoint Studio (Mulesoft Eclipse IDE)' up to use Maven and the appropriate JDK.</li>
  <li>I have tried creating truststore and adding the appropriate certificates to the repositories - I have also made sure to configure the AnypointStudio.ini file to point to this truststore.</li>
  <li>Deleting .m2 folder, also tried deleting the files specifically.</li>
  <li>I am able to access the repositories directly through the browser.</li>
  </ol>
  
  <p>This is the error I am getting, I feel like it is seperate from AnypointStudio and strictly has to do with Maven.</p>
  
  <blockquote>
    <p>Downloading from mulesoft-release:
    <a href="http://repository.mulesoft.org/releases/org/mule/tools/maven/mule-app-maven-plugin/1.2/mule-app-maven-plugin-1.2.pom" rel="nofollow noreferrer">http://repository.mulesoft.org/releases/org/mule/tools/maven/mule-app-maven-plugin/1.2/mule-app-maven-plugin-1.2.pom</a>
    Downloading from central:
    <a href="https://repo.maven.apache.org/maven2/org/mule/tools/maven/mule-app-maven-plugin/1.2/mule-app-maven-plugin-1.2.pom" rel="nofollow noreferrer">https://repo.maven.apache.org/maven2/org/mule/tools/maven/mule-app-maven-plugin/1.2/mule-app-maven-plugin-1.2.pom</a>
    [ERROR] [ERROR] Some problems were encountered while processing the
    POMs: [ERROR] Unresolveable build extension: Plugin
    org.mule.tools.maven:mule-app-maven-plugin:1.2 or one of its
    dependencies could not be resolved: Failed to read artifact descriptor
    for org.mule.tools.maven:mule-app-maven-plugin:jar:1.2 @ [ERROR]
    Unknown packaging: mule @ line 9, column 16</p>
  </blockquote>
  
  <p>I am finding that when I try to install any of these dependancies I end up with files that are appended with .lastUpdated.</p>
  
  <p><strong>I am just looking for more ideas on how I can resolve this, does anyone have an idea?</strong></p>
  
  <p>mvn clean install -X</p>
  
  <pre><code>[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repo.maven.apache.org/maven2 Downloading from central: https://repo.maven.apache.org/maven2/org/mule/tools/maven/mule-app-maven-plugin/1.2/mule- app-maven-plugin-1.2.pom [DEBUG] Writing tracking file C:\Users\scuvan\.m2\repository\org\mule\tools\maven\mule-app-maven-plugin\1.2\mule-ap p-maven-plugin-1.2.pom.lastUpdated [DEBUG] Looking up lifecycle mappings for packaging mule from ClassRealm[plexus.core, parent: null] [ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] Unresolveable build extension: Plugin org.mule.tools.maven:mule-app-maven-plugin:1.2 or one of its dependen  cies could not be resolved: Failed to read artifact descriptor for org.mule.tools.maven:mule-app-maven-plugin:jar:1                       .2 @ [ERROR] Unknown packaging: mule @ line 9, column 16  @ [ERROR] The build could not read 1 project -&gt; [Help 1] org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs: [ERROR] Unresolveable build extension: Plugin org.mule.tools.maven:mule-app-maven-plugin:1.2 or one of its dependen                                      cies could not be resolved: Failed to read artifact descriptor for org.mule.tools.maven:mule-app-maven-plugin:jar:1                       .2 @ [ERROR] Unknown packaging: mule @ line 9, column 16
  
      at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuilder.java:383)
      at org.apache.maven.graph.DefaultGraphBuilder.collectProjects (DefaultGraphBuilder.java:414)
      at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor (DefaultGraphBuilder.java:405)
      at org.apache.maven.graph.DefaultGraphBuilder.build (DefaultGraphBuilder.java:82)
      at org.apache.maven.DefaultMaven.buildGraph (DefaultMaven.java:507)
      at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:219)
      at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
      at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
      at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
      at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
      at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
      at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke (Method.java:498)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) [ERROR] [ERROR]   The project com.mycompany:salesforce-netsuite-integration:1.0.0-SNAPSHOT (C:\Users\scuvan\Dev\AnypointStudio\                                   salesforce-netsuite-integration\pom.xml) has 2 errors [ERROR]     Unresolveable build extension: Plugin org.mule.tools.maven:mule-app-maven-plugin:1.2 or one of its depe      ndencies could not be resolved: Failed to read artifact descriptor for org.mule.tools.maven:mule-app-maven-plugin:j                           ar:1.2: Could not transfer artifact org.mule.tools.maven:mule-app-maven-plugin:pom:1.2 from/to mulesoft-release (ht                                      tp://repository.mulesoft.org/releases/): sun.security.validator.ValidatorException: PKIX path building failed: sun.                                      security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target                          
  -&gt; [Help 2] org.apache.maven.plugin.PluginManagerException: Plugin org.mule.tools.maven:mule-app-maven-plugin:1.2 or one of its           dependencies could not be resolved: Failed to read artifact descriptor for org.mule.tools.maven:mule-app-maven-plu                            gin:jar:1.2
      at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupExtensionsRealm (DefaultMavenPluginManager.j                                      ava:848)
      at org.apache.maven.project.DefaultProjectBuildingHelper.createProjectRealm (DefaultProjectBuildingHelper.java:                                    197)
      at org.apache.maven.project.DefaultModelBuildingListener.buildExtensionsAssembled (DefaultModelBuildingListener                                      .java:100)
      at org.apache.maven.model.building.ModelBuildingEventCatapult$1.fire (ModelBuildingEventCatapult.java:44)
      at org.apache.maven.model.building.DefaultModelBuilder.fireEvent (DefaultModelBuilder.java:1350)
      at org.apache.maven.model.building.DefaultModelBuilder.build (DefaultModelBuilder.java:444)
      at org.apache.maven.model.building.DefaultModelBuilder.build (DefaultModelBuilder.java:424)
      at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuilder.java:583)
      at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuilder.java:373)
      at org.apache.maven.graph.DefaultGraphBuilder.collectProjects (DefaultGraphBuilder.java:414)
      at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor (DefaultGraphBuilder.java:405)
      at org.apache.maven.graph.DefaultGraphBuilder.build (DefaultGraphBuilder.java:82)
      at org.apache.maven.DefaultMaven.buildGraph (DefaultMaven.java:507)
      at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:219)
      at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
      at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
      at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
      at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
      at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
      at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke (Method.java:498)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356) Caused by: org.apache.maven.plugin.PluginResolutionException: Plugin org.mule.tools.maven:mule-app-maven-plugin:1.2                         or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.mule.tools.maven:mule                     
  -app-maven-plugin:jar:1.2
      at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolveInternal (DefaultPluginDependencie                                      sResolver.java:214)
      at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve (DefaultPluginDependenciesResolve                                      r.java:149)
      at org.apache.maven.plugin.internal.DefaultMavenPluginManager.resolveExtensionArtifacts (DefaultMavenPluginMana                                      ger.java:910)
      at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupExtensionsRealm (DefaultMavenPluginManager.j                                      ava:841)
      at org.apache.maven.project.DefaultProjectBuildingHelper.createProjectRealm (DefaultProjectBuildingHelper.java:                                    197)
      at org.apache.maven.project.DefaultModelBuildingListener.buildExtensionsAssembled (DefaultModelBuildingListener                                      .java:100)
      at org.apache.maven.model.building.ModelBuildingEventCatapult$1.fire (ModelBuildingEventCatapult.java:44)
      at org.apache.maven.model.building.DefaultModelBuilder.fireEvent (DefaultModelBuilder.java:1350)
      at org.apache.maven.model.building.DefaultModelBuilder.build (DefaultModelBuilder.java:444)
      at org.apache.maven.model.building.DefaultModelBuilder.build (DefaultModelBuilder.java:424)
      at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuilder.java:583)
      at org.apache.maven.project.DefaultProjectBuilder.build (DefaultProjectBuilder.java:373)
      at org.apache.maven.graph.DefaultGraphBuilder.collectProjects (DefaultGraphBuilder.java:414)
      at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor (DefaultGraphBuilder.java:405)
      at org.apache.maven.graph.DefaultGraphBuilder.build (DefaultGraphBuilder.java:82)
      at org.apache.maven.DefaultMaven.buildGraph (DefaultMaven.java:507)
      at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:219)
      at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
      at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
      at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
      at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
      at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
      at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke (Method.java:498)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
      at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
  </code></pre>
  
  <p>POM.XML</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.mycompany&lt;/groupId&gt;
      &lt;artifactId&gt;salesforce-netsuite-integration&lt;/artifactId&gt;
      &lt;version&gt;1.0.0-SNAPSHOT&lt;/version&gt;
      &lt;packaging&gt;mule&lt;/packaging&gt;
      &lt;name&gt;Mule salesforce-netsuite-integration 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.5.0&lt;/mule.version&gt;
          &lt;mule.tools.version&gt;1.2&lt;/mule.tools.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;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;src/main/api/&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;/plugins&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;dependency&gt;
              &lt;groupId&gt;org.mule.modules&lt;/groupId&gt;
              &lt;artifactId&gt;mule-module-json&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;/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>