Installing a Maven Plugin for Eclipse can be a bit tricky if you want to get the whole spectrum of features. By default you would go to “Eclipse -> Help -> Software Updates -> Find and Install”, then “Search for new features to install”, then click on “New Remote Site”, and enter the Maven Projects name (e.g. Maven2Plugin) and its home URL there “http://m2eclipse.codehaus.org/“.
Once you install it at first everything would seem quite right. However, if you try “Import” a Maven Project, you will not see such an option in under the “General” menu, since it would be missing.
The reason for that is that “http://m2eclipse.codehaus.org/” brings in an old version of the plugin. (At the moment of writing) It brings in “Maven 2 Plugin 0.0.9″, whereas what you need is 0.0.12.
Hence you read the “New Remote Site” to “http://m2eclipse.codehaus.org/update/” instead of “http://m2eclipse.codehaus.org/“. The one thing to be cautious about is an “update” link will try to also bring “subclipse” and “mylin” projects, hence you will need to “uncheck” them if you do not want to bring them:

Happy Maving everybody!
“happy maving” – I like that
Does the father of Maven Plugin approves this way of installing it?
Yes, Keil – if you are talking about Eugene Kuleshov, he does approve, and actually recommends it here:
http://archive.m2eclipse.codehaus.org/user/13322428.post%40talk.nabble.com
He misses a slight detail of de-selecting subclipse from dependencies, but it is an easy thing to spot on your own. I was just as explicit as possible in the article, so new Eclipsers shall not struggle.
que buena onda.. ya lo tengo instalado…
Quite simple and impressive.
Thanks,
very simple ! thanks!
hic! why don’t i plugin maven for eclipse complete?
respone:
not found repository at http://m2eclipse.codehaus.org/update/
It starts to install the plugin, but it suddenly breaks, telling that a jar wasn’t found in the repository!
It happens to me too. The IDE always return a message like “no repository found at (url)”. what a hell is this?
Thanks buddy,
it’s very simple and impressive….:p
Addresses you’ve given does not open. I wonder if the problem did he? So are did he you?
was simple and straightforward. ‘ll make a note works. thanks
Note that the install instructions have changed somewhat, and codehaus doesn’t seem to exist. Try following these: http://m2eclipse.sonatype.org/installing-m2eclipse.html
It starts to install the plugin, but it suddenly breaks, telling that a jar wasn’t found in the repository!
what version of eclipse you use?, and if you can send me the link to download the suggested eclipse version.
during installing the plugin i got this error..
Network connection problems encountered during search.
Unable to access “http://m2eclipse.sonatype.org/installing-m2eclipse.html”.
Error parsing site stream. [The XML stream is not a valid default "site.xml" file. The root tag is not site.]
The XML stream is not a valid default “site.xml” file. The root tag is not site.
Error parsing site stream. [The XML stream is not a valid default "site.xml" file. The root tag is not site.]
The XML stream is not a valid default “site.xml” file. The root tag is not site.
and i use both links u mentioned above:
http://m2eclipse.codehaus.org/“.
and
http://m2eclipse.sonatype.org/installing-m2eclipse.html
but still get the same error.
Wasim, you do not have to use http://m2eclipse.sonatype.org/installing-m2eclipse.html as the plug-in URL. Just go there and you’ll see the instructions. Basically you should use: http://m2eclipse.sonatype.org/sites/m2e
Regards
None of those links work in eclipse. Matias, the one you suggested to Wasim returns this:
Network connection problems encountered during search.
Unable to access “http://m2eclipse.sonatype.org/sites/m2e”.
Error parsing site stream. [White spaces are required between publicId and systemId.]
White spaces are required between publicId and systemId.
Error parsing site stream. [White spaces are required between publicId and systemId.]
White spaces are required between publicId and systemId.
Thanks Wasim… its working for me….
I m using Eclipse Helios
Hi, I have been trying to install the maven plugin for eclipse. Thank you for sharing this, it helped me install maven without a problem.