org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Faile
In addition to what @JackDev replies, what also solved my problem was to
1) Install the jdk under directory with no spaces:
C:/Java
Instead of
C:/Program Files/Java
This is a known issue in Windows. I fixed JAVA_HOME
as well
2) Install maven as in Java case, under C:/Maven
. Fixed the M2_HOME
accordingly.
3) I java 7 and java 8 on my laptop. So I defined the jvm using eclipse.ini
. This is not a mandatory step if you don't have -vm
entry in your eclipse.ini
. I updated:
C:/Java/jdk1.7.0_79/jre/bin/javaw.exe
Instead of:
C:/Java/jdk1.7.0_79/bin/javaw.exe
Good luck