To install maven in eclipse follow these steps:-
* Eclipse -> Help -> Install New Software. Then see the following screen:-

* Click on Add Button and open following screen and type:-
Name: m2e
Location: https://download.eclipse.org/technology/m2e/releases

* Clicked on Ok Button and select all

* Clicked on Next button then open the following screen:-

* Select radio button "I accept teh terms of the license agreement" and clicked on Finish button.

* Finally the installation will complete then see the following screen:-

* Clicked on Yes Button. You got installed maven in your eclipse.