Eclipse Mars: No entry for Maven under Window-> Preferences - eclipse

I have Mars2 version of Eclipse in my system. I had installed m2Eclipse to integrate maven with Eclipse from here http://download.eclipse.org/technology/m2e/releases, however, I do not find the option for maven in Eclipse, neither under preferences nor under perspectives. Is there some other version of m2Eclipse to be used with Mars2 or what else can be done to resolve this issue?
Currently, I have Apache Maven 3.3.9 installed in my system along with JRE 1.7. I have other plugins as well like subclipse, beyond compare, JUNIT etc which seems to be installed properly.

Do this:
Right click on your Project --> Select Configure --> Convert to Maven Project

m2eclipse is not required to be installed separately with Mars2. It is by default integrated with it when we download Mars2 binaries. Also, we should be targeting maven 3.3.3, since m2eclipse is version 1.6 which targets maven 3.3.3.
M2eclipse v1.7 targets maven 3.3.9 and is mainly targeted for Eclipse Neon

Related

Eclipse (Mars) doesn't display maven options despite Maven/m2e installation

As stated, Eclipse Mars doesn't display any Maven options (such as creating or converting to a Maven project), despite me having verified that the m2e plugin and Maven 3.0.5 are both installed. I'm on Ubuntu 14.04.

Version of Maven in Eclipse M2Eclipse

Where I can see which version of Maven I run?
I installed Eclipse Kepler with "M2Eclipse Maven integration in Eclipse" (from repository http://download.eclipse.org/technology/m2e/releases).
M2E comes with an embedded version of maven.
You can see it under Windows -> Preferences -> Maven -> Installations.
For Kepler, it is 3.0.4/1.4.1.20140328-1501.
However, you might consider installing your own version on your computer, add it in the preferences as maven installation and set it as default. You have more control over it that way and are not tied to a specific version that might change once you update your IDE.

Eclipse built-in maven support vs M2Eclipse

Has Eclipse 3.7.2 built-in Maven support? How does it differ from m2eclipse?
#EDIT
m2e basic version is bundled with Eclipse 3.7 Java (not yet with Java EE). For the full version one has to install m2e from either its update site or the Marketplace.
List of Indigo (Eclipse 3.7) projects: http://www.eclipse.org/indigo/projects.php
Includes Maven support [new]: http://www.eclipse.org/m2e/
As you can guess by the name it is just m2e bundled with the release (and upped the version number from the external source).
You can install maven eclipse from here - http://download.eclipse.org/technology/m2e/releases/
Note: Sonatype contributed m2e plugin to eclipse. You can read about it here http://www.sonatype.com/people/2011/06/where-is-m2eclipse/

Maven menu disappears after installing m2e 1.0

i installed m2e 1.0 latest version from here
http://download.eclipse.org/technology/m2e/releases
i had to remove the old maven integration for eclipse, and the maven integration for eclipse WTP
after installing this latest version, and restarting eclipse, i found that the maven menu disappears from the right click on project, so i though that i need the m2e extras, but i couldn't found a compatible version, please advise.
The new Maven plugin uses different project metadata (due to the move to Eclipse foundation and new package names). So it doesn't recognize older Maven projects. You have to enable Maven for every project again to create the new metadata. To do this, right click on the project, choose "Configure" and then "Convert to Maven project". Now the "Maven" submenu should appear.
What version of Eclipse are you running? In the download page they are saying that m2e is tested against Eclipse 3.6 (Helios) and 3.7 (Indigo).

Maven plugin install with Eclipse

I am new to Maven, I have to install maven plugin in eclipse. I am facing some issues in the same, as the inputs I am getting different sites are not working.
I have also gone through existing posts like this, which talks about running the command like :
mvn install:install-file -Dfile=c:\kaptcha-2.3.jar -DgroupId=com.google.code
-DartifactId=kaptcha -Dversion=2.3 -Dpackaging=jar
but where do I run this command ??
This site talks about adding as parameter maven.repo.remote like :
maven -DartifactId=maven-eclipse-plugin-plugin -DgroupId=mevenide -Dversion=0.3.1 plugin:download
BUt where are these parameter set ??
Please can someone help me with pointing some good resource, which gives easy steps to install maven plugin in eclipse?
My eclipse version: indigo release, Java EE IDE.
If you are running eclipse Indigo for Java EE you can install the missing m2e plugin this way:
Help-> Install new software -> Work with: Indigo -> General Purpose Tools -> m2e
See also: Where is m2eclipse?
Start with Eclipse Indigo Java EE edition
m2e is the maven integration for Eclipse. Install this plugin in the IDE.
Import maven project if you have any or create a new one
mvn install:install-file is used to install maven artifacts in local repository, if it cannot be automatically downloaded and installed by maven. This is not normally required, but if you have to do this, you can go to Run as -> Run Configurations... and create an appropriate Maven Build configuration.
maveide is not maintained and not to be referred.
In the Indigo release, Maven is already included by the eclipse plugin m2e. At the plugins website, you will find plenty of material. The steps are normally:
Install eclipse with m2e
Install separately a current maven version (depending on what you need, Maven 2.2.x or Maven 3.0.x)
Configure your installed Maven inside Eclipse due to the documentation. Do that in the section Window > Preferences > Maven > Installations. If that is not visible in Eclipse, you first have to install m2e with the normal installation procedure: Help > Install New Software > Work with: Indigo > Filter text: m2e > Collaboration > m2e. Then next, next, next ...
Hope that helps.
Eclipse > Help > Eclipse Marketplace...
Search for m2e
Install Maven Integration for Eclipse (Juno and newer). [It works for Indigo also]