Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved

org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
    at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(
    at org.eclipse.m2e.core.internal.project.registry.EclipsePluginDependenciesResolver.resolve(
    at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getPluginDescriptor(
    at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor(
    at org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(
    at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.setupMojoExecution(
    at org.eclipse.m2e.core.internal.embedder.MavenImpl.setupMojoExecution(
    at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.setupMojoExecution(
    at org.eclipse.m2e.core.internal.project.registry.MavenProjectFacade.getMojoExecution(
    at org.eclipse.m2e.core.project.configurator.AbstractCustomizableLifecycleMapping.getBuildParticipants(
    at org.eclipse.m2e.core.project.configurator.AbstractLifecycleMapping.configure(
    at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration(
    at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration(
    at org.eclipse.m2e.core.ui.internal.UpdateMavenProjectJob.runInWorkspace(
Caused by: org.sonatype.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
    at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(
    at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(
    at org.sonatype.aether.impl.internal.DefaultRepositorySystem.readArtifactDescriptor(
    at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(

I have read where many people were able to solve this by:

  • Deleting the folder from the local repository and letting it re-download it (this did not work)

  • By configuring eclipse to target your maven installation instead of the embedded one as described here (this did not work)

    Could not calculate build plan :artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3 is not available in the local repository

I am new to Maven so please excuse any of my ignorance.

This project is working on another machine, and just pulled it down from the repository on this one, with the same version of eclipse and m2e plugin installed. I have been fooling with this for over 10 hours now and it is driving me nuts (Maven has been nothing but headaches for me so far…)


After looking closer I did notice that it is not downloading the .jar files into the local repository… I am not sure if that is something obvious…

I am not given the option to add Maven Dependencies to the build path.

31 Answers

I had the exact same problem.

[ERROR] Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5: Failure to find org.apache.maven.plugins:maven-resources-plugin:pom:2.5 in was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]

Had maven 3.0.5, eclipse Kepler with JBoss Dev Studio 7 installed. Computer sitting on internal network with proxy to the internet. Here’s what I did.

0. Check the maven repositiory server is up

1. Check Proxy is set up and working

First I thought it was a proxy problem, I made sure that maven settings.xml contained the proxy settings (settings.xml can exist in two places one in MAVEN_HOME. The other in %userprofile%.m2\ with the later having higher precedence):


and checked that the proxy is working by trying to telnet to it:

telnet [proxy] [port number]

2. Check not Eclipse Issue

ran ‘mvn compile’ at command line level outside of eclipse – same issue.

If ‘mvn compile’ worked. But it doesn’t work using the maven plugin in eclipse, see Maven plugin not using eclipse’s proxy settings

3. Check not Cache Issue
Deleted all contents in my local maven repository. (Default location: ~/.m2/repository) And then reran maven – same issue came up.

4. What worked for me

Automatically download & install missing plugin:
By declaring the missing plugin in the POM file build section for pluginManagement Maven will automatically retrieve the required plugin. In the POM file, add this code for the version of the plugin you require:


Manually install missing plugin:
I went to and downloaded maven-resources-plugin-2.5.jar and maven-resources-plugin-2.5.pom . Copied it directly into the maven repository into the correct folder ( ~/.m2/repository/org/apache/maven/plugins/maven-resources-plugin/2.5) and reran ‘mvn compile’. This solved the problem.


Following this I had another two problem with ‘mvn install’:

The POM for org.apache.maven.plugins:maven-surefire-plugin:jar:2.10 is missing, no dependency information available

The POM for org.apache.maven.plugins:maven-install-plugin:jar:2.3.1 is missing, no dependency information available

I approached this problem the same way as above, downloading from and

Leave a Comment