18

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?

Kris Schouw
  • 451
  • 4
  • 6
  • 13

10 Answers10

26

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.

Raghuram
  • 51,854
  • 11
  • 110
  • 122
20

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

user1309573
  • 221
  • 3
  • 5
  • 1
    Please refer to http://stackoverflow.com/questions/17352485/error-m2e-install-in-eclipse incase you get exception installing it with indigo eclipse. – Lavixu Jan 16 '14 at 08:12
11

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
Vladik Y
  • 411
  • 5
  • 6
  • Worked with Juno too :) – thonnor Jul 21 '15 at 21:30
  • Only way I found that avoids the Eclipse Martketplace missing osgi dependency issue (good grief - who writes this toy software?) Anyway thank you, definitely worked with Eclipse 3.8 – noogrub Jul 31 '15 at 11:16
6

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/

asilchenko
  • 81
  • 1
  • 3
4

I found Maven Integration for Eclipse here.

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

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

3
  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.

Sikander
  • 162
  • 4
  • This is not working for me, because I have some proxy problem.Is there any other way we can do this ? – JDGuide Oct 16 '14 at 12:56
1

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/

Zeeshan Akhter
  • 1,881
  • 20
  • 19
1

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

   http://download.eclipse.org/technology/m2e/releases
Rajesh Balan
  • 593
  • 2
  • 7
  • 20
0

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

cmcginty
  • 113,384
  • 42
  • 163
  • 163
  • I have the same problem with Ubuntu 12.04 and eclipse indigo. Can you give instruction how to solve this trouble here [Can't install maven plugin for eclipse on Ubuntu 12.04](http://stackoverflow.com/questions/18609533/cant-install-maven-plugin-for-eclipse-on-ubuntu-12-04) – catch23 Sep 04 '13 at 09:01
0

Eclipse > Help > Eclipse Marketplace...

Search for m2e

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

Prashanth Sams
  • 19,677
  • 20
  • 102
  • 125
  • There is no **Eclipse Marketplace ...** in Ubuntu 12.04's `eclipse` (which is Indigo). – reinierpost Jun 11 '14 at 11:27
  • Am using Ubuntu LTS 14.04 | Eclispe Kepler and its there – Prashanth Sams Jun 16 '14 at 10:01
  • This is not working for me, because I have some proxy problem.Is there any other way we can do this ? Is there any link from where we can download the plugin to local and then install from local. – JDGuide Oct 16 '14 at 12:58
  • @JDeveloper In-case of proxy problem, you can't do anything unless your admin give access to you. Else there is no use for Admin :) – Prashanth Sams Oct 16 '14 at 14:08