Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved
Try the following steps:
Make sure you have connectivity (you can browse) (This kind of error is usually due to connectivity with Internet)
Download Maven and unzip it
Create a
JAVA_HOME
System VariableCreate an
M2_HOME
System VariableAdd
%JAVA_HOME%\bin;%M2_HOME%\bin;
to yourPATH
variableOpen a command window
cmd
. Check:mvn -v
If you have a proxy, you will need to configure it
http://maven.apache.org/guides/mini/guide-proxies.html
Make sure you have
.m2/repository
(erase all the folders and files below)If you are going to use Eclipse, You will need to create the
settings.xml
Maven plugin in Eclipse - Settings.xml file is missing
You can see more detail in
http://maven.apache.org/ref/3.2.5/maven-settings/settings.html
Delete all files under the .m2 repository folder and rebuild the project.