Anton Zvonovsky
Anton Zvonovsky

Reputation: 343

Unable to create Maven project in eclipse

Don't know where the problem exactly is. When trying to create a Java Maven simple project (war, if that means anything) from scratch in Eclipse Helios (also tried Kepler) I get the messages below:

Errors occurred during the build.
Errors running builder 'Maven Project Builder' on project 'j2eeexample'.
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5
Plugin org.apache.maven.plugins:maven-resources-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.5

I'm using:

I did everything the same as mr.Arthur Vin did (including preparations from previous parts of a tutorial) in here: http://youtu.be/1cHIZTmN0z8?t=4m51s

But it doesn't work.

Upvotes: 2

Views: 24359

Answers (1)

Lucas Eduardo
Lucas Eduardo

Reputation: 100

The problem is that you don't have maven-resources-plugin and maven tried to download it. If you are under a proxy, configure the proxy in your maven settings.xml file. If you are not under a proxy, try to download maven again and replace your current installation. May be a local issue with your firewall, well you need to check your internet access.

Upvotes: 3

Related Questions