Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problem installing Maven plugin (m2eclipse) in Eclipse (Galileo)

I have Eclipse Galileo (for Java EE Developers) installed, and I'm now trying to get the m2eclipse Maven plugin installed as well.

I follow the basic steps described at http://m2eclipse.sonatype.org/installing-m2eclipse.html, and it seems to be installing just fine. However, after restarting Eclipse after the install it doesn't seem to be anywhere. I should for instance have the ability to create a new maven project, but when the new-project wizard opens, there is no folder for Maven (I also cannot find any reference to it in the context menus of the existing projects I have).

When I click at Help > About Eclipse > Installation Details, I find "Maven Integration for Eclipse (Required)" in the tab "Installed Software", yet another thing pointing towards a successful installation (but I can't find it under the "Plug-ins" tab, should it be there too?)...

I feel like I'm just missing something very obvious, but right now I just don't see it...

like image 773
Julian Avatar asked May 10 '10 13:05

Julian


People also ask

Does Eclipse Indigo support Maven?

Let's add m2e plugin to Eclipse (so it can handle maven projects)! Select "Indigo - http://download.eclipse.org/releases/indigo" from the drop-down list next to the "Add..." button. Wait until it fetches the repository.


1 Answers

I managed to find the answer to this myself:

I had put the Eclipse installation folder under c:\Program Files\, but when I moved it directly under c:\ instead, the plug-in installation worked just as it should. I assume that is because Eclipse wasn't allowed to write to its own installation folder (but I didn't get the usual question from Windows that something was trying to access Program Files either...).

In one way I feel like I should be a bit ashamed that I didn't think of this before. On the other hand though, there could have been some reasonable error message stating that something failed during the plug-in installation...

Well, I hope this at least helps somebody else as well :)

like image 186
Julian Avatar answered Oct 16 '22 19:10

Julian