I am new to maven. I tried to setup my first maven project in eclipse IDE, but while creating the project I am getting an error:
Errors occurred during the build.
Errors running builder 'Maven Project Builder' on project 'SpringLoginApplication'.
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
I am unable to find the reason for this error. Can anybody please help me on this regard?
Related
I have installed Eclipse Kepler and tried to import my code. An error occurred while importing which I don't understand. The error was:
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
I am trying to setup Maven Project in another system which is perfectly working in my system.
But when I try to run in another system. It is throwing below error:
Errors occurred during the build.
Errors running builder 'Maven Project Builder' on project 'spring-security'.
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
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
Any idea how to resolve this error?
Note: I want to use Maven version 3.3.9 in the new system (I want to upgrade).
I am new to the maven, like to create spring integration using maven in eclipse(mars). But getting below while creating the maven project in my local machine. Kindly help me on this.
Errors occurred during the build.
Errors running builder 'Maven Project Builder' on project 'samplearticact'.
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
while creating new maven project i am getting an error like this.
Could not get the value for parameter encoding for plugin execution default-resources
Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved:
The following artifacts could not be resolved:
org.apache.maven:maven-project:jar:2.0.6,
org.apache.maven:maven-profile:jar:2.0.6,
org.apache.maven:maven-artifact-manager:jar:2.0.6,
org.apache.maven:maven-plugin-registry:jar:2.0.6,
org.apache.maven:maven-core:jar:2.0.6,
org.apache.maven:maven-plugin-parameter-documenter:jar:2.0.6,
org.apache.maven.reporting:maven-reporting-api:jar:2.0.6,
org.apache.maven.doxia:doxia-sink-api:jar:1.0-alpha-7,
org.apache.maven:maven-repository-metadata:jar:2.0.6,
org.apache.maven:maven-error-diagnostics:jar:2.0.6,
commons-cli:commons-cli:jar:1.0,
org.apache.maven:maven-plugin-descriptor:jar:2.0.6,
org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-4,
classworlds:classworlds:jar:1.1,
org.apache.maven:maven-artifact:jar:2.0.6,
org.apache.maven:maven-settings:jar:2.0.6,
org.apache.maven:maven-model:jar:2.0.6,
Hi I am getting this error while creating a maven project, can any one help please.
Steps-> Create a Java project -> right click and select Configure -> Convert to Maven project
Errors occurred during the build.
Errors running builder 'Maven Project Builder' on project 'Test'.
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
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
Thanks in advance
Is this in Eclipse? If so check your Maven installation preferences under "Window - Preferences - Maven - Installation". To match the behaviour of running maven from the command line, you should add your external maven installation here.