Java – Problems integrating Maven with Eclipse Kepler

eclipsejavamaven

I am totally new to working with Maven in Eclipse. I am using the latest verion of Eclipse (Kepler). According other posts, as well as Eclipse's help page http://help.eclipse.org/kepler/index.jsp?topic=//org.eclipse.platform.doc.user/tasks/tasks-127.htm , I am supposed to try to install new software within Eclipse IDE.

However, when I try to Add Eclipse's recommended m2e release, Eclipse gives me an error:

Unable to read repository at http://download.eclipse.org/technology/m2e/releases.
download.eclipse[…]releases is not a valid repository location.

Essentially I run into the same problem no matter which approach I take outlined on the Eclipse help page. Is there some other/better way to integrate Maven with Eclipse? Are there steps I should have taken before this? All I have done so far is install Eclipse. How can I successfully get Maven running?

EDIT: Now I am using Java EE and still run into problems when making a Maven project. I get a "Could not resolve archetype error" could this be because I'm behind a proxy?

Best Answer

Most convenient option:

The reason you're getting that error is because that repo is deprecated, and it has been moved. Example of how the new repo looks:

http://download.eclipse.org/technology/m2e/releases/1.0/1.0.0.20110607-2117

Copy that in the Install New Software view, and you will see that it works.


Other options:

  • Install the Maven Integration from Eclipse Marketplace (Help -> Eclipse Marketplace)
  • Download the EE version of Kepler (comes with m2e)
  • Choose your own release (bottom of the page) and use the Install New Software view.