Open Eclipse and go to Help -> Eclipse Marketplace and search for maven integration as shown in the below image.
Find out the plug-in as per the machines Eclipse IDE and click on Install.
Now, select the required Features and accept the licence agreement. Click on Finish and restart the Eclipse.
Check the Maven Plug-in installation as shown below.
Step-3
Now, start creating the project. Open File -> New -> Other ->search Maven. Select Maven Project and click on Next.
Step-3
The following window appears asking to enter the details of Group id, Artifact id, Version and Packaging. Enter the necessary details of project and click on Finish.
The project structure appears with pom files, target folders, src folder, etc. in project explorer index as shown below.
Step-4
Run the project by right-clicking on the project SampleMavenProject -> Run as -> Maven Test. The following output showing that the build is successful appears on the screen.
Finally, Maven Eclipse integration is done.
Summary
Points
Eclipse is the most used IDE in software development.
M2Eclipse plug-in is necessary to integrate the Eclipse with Maven.
Maven structure possess pom files, target folders, and src folders.