Maven Error: Could not calculate build plan

Whenever this error popped out:

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

Just go to Eclipse » Preferences » Maven » User Settings
And point the value to "/where/ever/you/store/your/.m2/settings.xml" then save and apply the configuration. Maven will then update the dependencies.

m2 user settings