Maven also provides an excellent plugin which helps to integrate both eclipse and maven together. M2eclipse is the plugin used to integrate maven and eclipse. Below are some of the key benefits of this plugin:
m2eclipse
PluginFollow the below link to easily install the m2eclipse plugin in your eclipse IDE.
http://books.sonatype.com/m2eclipse-book/reference/ch02s03.html
Below is the step by step explanation on creating a maven project in eclipse.
Open the eclipse. Go to File -> New -> Project and search by the keyword maven and select Maven Project
Select the checkbox saying, Create a simple project and click on Next.
Provide the details for groupId, artifactId, version and packaging as shown below and click on Finish.
A new project name SampleMavenProject will be created as shown below:
And this ends the Maven Tutorial, hope you had a great learning experience.