Could not calculate build plan – maven – m2e – eclipse – 2.4.3

M2e has a difficulty downloading the plugin shown in the error below:

Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.4.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.4.3	pom.xml	/petclinic	line 1	Maven Build Problem

So, add this line to your pom.xml and build it through command line using ‘mvn install’. That will download the plugin and then try to build from eclipse. If you are still having issues, delete it from local repository and try again. The line to add is:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: