Kris Schouw
Kris Schouw

Reputation: 451

Installing Apache Maven Plugin for Eclipse

I'm currently trying to download an Apache Maven plugin for Eclipse so I can migrate a project from Ant. I've read numerous tutorial sites on how to install this plugin, and most of them offer an update site. Unfortunately, my Eclipse is not finding any of the repositories that are supposedly at the URL's I've been given. Here are some of the one's I've tried:

http://m2eclipse.sonatype.org/sites/m2e/
http://download.eclipse.org/technology/m2e/releases/
http://mevenide.codehaus.org/maven-eclipse-plugin-plugin/

Sadly, all of these haven't proven useful yet, so I'm starting to think that perhaps a certain setting is off or missing within Eclipse itself that is preventing it from finding these repositories. Sometimes, though, it tells me that it is simply unable to read a repository. For example, Eclipse spat out this error a few times when trying to use http://m2eclipse.sonatype.org/sites/m2e/:

Unable to read repository at http://m2eclipse.sonatype.org/sites/m2e/content.xml.

When this happens, it seems as though its "finding" the repository, but it just can't read it... As I've said, I've followed a handful of instructions to downloading the plugin, and none have worked thanks to this initial step. Any ideas?

Upvotes: 18

Views: 127831

Answers (10)

Raghuram
Raghuram

Reputation: 52665

m2eclipse has moved from sonatype to eclipse.

The correct update site is http://download.eclipse.org/technology/m2e/releases/

If this is not working, one possibility is you have an older version of Eclipse (< 3.6). The other - if you see timeout related errors - could be that you are behind a proxy server.

Upvotes: 26

Rajesh Balan
Rajesh Balan

Reputation: 643

This has been moved to a new location now -- and please use the below site for updates.

   http://download.eclipse.org/technology/m2e/releases

Upvotes: 1

Sikander
Sikander

Reputation: 162

  1. In Eclipse Select Help -> Marketplace

  2. Enter "Maven" in Find box and click on Go button

  3. Click on "Install" button for Maven Integration for Eclipse (Juno and newer)

With this, maven should get install without any problem.

Upvotes: 3

Vladik Y
Vladik Y

Reputation: 411

For Eclipse (Helios) the following procedure works - I've tried it:

  1. Go to Help -> Install New software
  2. Add the following link: http://download.eclipse.org/technology/m2e/releases/1.3
  3. After results found unselect "sl4j... (optional)"
  4. Next

Upvotes: 11

Zeeshan Akhter
Zeeshan Akhter

Reputation: 1891

Installing m2eclipse

All downloads are provided under the terms and conditions of the Eclipse Foundation Software User Agreement unless otherwise specified.

m2e is tested against Eclipse 4.2 (Juno) and 4.3 (Kepler).

See http://wiki.eclipse.org/M2E_updatesite_and_gittags for detailed information about available builds and m2e build repository layout.

m2e 1.3 and earlier version have been removed from the main m2e update site. These old releases are still available and can be installed from repositories documented in http://wiki.eclipse.org/M2E_updatesite_and_gittags

Please note that links below point at Eclipse p2 repositories; you must access them from Eclipse (see how). Update Sites Latest m2e release (recommended) http://download.eclipse.org/technology/m2e/releases m2e milestone builds towards version 1.5 http://download.eclipse.org/technology/m2e/milestones/1.5 Latest m2e 1.5 SNAPSHOT build (not tested, not hosted at eclipse.org) http://repository.takari.io:8081/nexus/content/sites/m2e.extras/m2e/1.5.0/N/LATEST/

Upvotes: 1

Prashanth Sams
Prashanth Sams

Reputation: 21169

Eclipse > Help > Eclipse Marketplace...

Search for m2e

Install Maven Integration for Eclipse (Juno and newer). [It works for Indigo also]

Upvotes: 0

asilchenko
asilchenko

Reputation: 81

Installed Maven in Juno IDE for Java EE (eclipse-jee-juno-SR2-linux-gtk-x86_64)

Eclipse -> Available Software Sites -> Maven URL -> http://download.eclipse.org/technology/m2e/releases

Following Maven URL did not work and was giving "No software found" error: http://eclipse.org/m2e/download/

Upvotes: 6

user2562520
user2562520

Reputation: 41

I found Maven Integration for Eclipse here.

http://download.eclipse.org/technology/m2e/releases

After installing restart eclipse. Worked for me running Eclipse Juno.

Upvotes: 4

user1309573
user1309573

Reputation: 221

You can install maven from m2eclipse - http://download.eclipse.org/technology/m2e/releases

Upvotes: 20

cmcginty
cmcginty

Reputation: 117106

Ubuntu 12.04's Eclipse was so broken for me I couldn't get M2E to install. The only way to fixed it was by using the official tar archive from the eclipse download page after purging all the ubuntu eclipse packages. - Cheers

Upvotes: 0

Related Questions