[maven] Could not calculate build plan: Plugin org.apache.maven.plugins:maven-jar-plugin:2.3.2 or one of its dependencies could not be resolved

I have had this issue and I resolved it by following the next step:

1- Close Eclipse.

2- Go to user directory and delete the .m2 directory.

3- Open Elipse.

4- Right click on the project -> Run as -> maven install