I am using Maven 2.2.0 and Eclipse Juno. I am trying to import one of the existing Maven project into workspace.
I got following error.
Could not calculate build plan: 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
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
I thought to download that plugin "maven-resources-plugin" manually.
Can any one suggest how to download the plugin manually and avoid this error. I checked pom.xml( I have its dependency too).
You shouldn't need to download plugins manually. The plugin is present in the central repository, so Maven should be able to download it.
Did you disable the central repo? Are you behind a firewall that blocks access to some remote servers?
Or maybe you do have the plugin locally, but the file is corrupt.
Anyway, to install it, just download the pom
and the jar
, and use the maven-deploy-plugin to install the file.