Could not calculate build plan :artifact org.apache.maven.plugins:maven-resources-plugin:pom:2.4.3 is not available in the local repository

If you want to use maven from your local installation instead of the embedded version that comes with m2e, You have to do this

  • Windows ==> Preferences ==> Maven ==> Installations ==> Click Add (select your local maven installation directory)

If your pom is not specific as to the version of the maven-resources-plugin, that version will come from the superpom. By default, m2e uses an embedded copy of Maven 3.0.x. If the superpom there points to 2.4.3 and your 'outside-of-Eclipse' version asks for something else, then the Maven inside of Eclipse will go looking for 2.4.3 and fail due to the 'offline'.

Fix by configuring m2e to use the Maven installation you are using outside, or turning off 'offline' for one build.


Just right click on the project in eclipse and in the maven option select update maven project and dont forget to check force update check box and finally hit on ok. It worked for me.