(Edit 2016-10-12: Many Eclipse downloads from https://eclipse.org/downloads/eclipse-packages/ have M2Eclipse included already. As of Neon both the Java and the Java EE packages do – look for “Maven support”)
Way 1: Maven Eclipse plugin installation step by step:
Open Eclipse IDE
Click Help -> Install New Software…
Click Add button at top right corner
At pop up: fill up Name as “M2Eclipse” and Location as “http://download.eclipse.org/technology/m2e/releases”
or
http://download.eclipse.org/technology/m2e/milestones/1.0
Now click OK
After that installation would be started.
Way 2: Another way to install Maven plug-in for Eclipse by “Eclipse Marketplace”:
Open Eclipse
Go to Help -> Eclipse Marketplace
Search by Maven
Click “Install” button at “Maven Integration for Eclipse” section
Follow the instruction step by step
After successful installation do the followings in Eclipse:
Go to Window –> Preferences
Observe, Maven is enlisted at left panel
Finally,
Click on an existing project
Select Configure -> Convert to Maven Project
IF you want to install Maven in Eclipse(Java EE) Indigo Then follow these Steps :
Eclipse -> Help -> Install New Software.
Type ” http://download.eclipse.org/releases/indigo/ ” & Hit Enter.
Expand ” Collaboration ” tag.
Select Maven plugin from there.
Click on next .
Accept the agreement & click finish.
After installing the maven it will ask for restarting the Eclipse,So restart the eclipse again to see the changes.