You can take advantage of Apache Maven's powerful features in Eclipse by installing the M2Eclipse feature. Follow these steps to install Maven in Eclipse:
Open Eclipse and select Help → Install New Software…
In the opened dialog, select the Add... button to add a new repository.
Fill in the form with the information below and confirm with OK:
After the Pending... finishes, Select All and select Next.
◉ accept the terms of the license agreement and select Finish.
At the end of the installation you will be asked to restart Eclipse. Select Yes to perform the restart.