Eclipse is a very popular IDE used mainly for Java development. In this article, we will see how to create a Maven project in Eclipse. In case you are not familiar with maven, it is a build management tool. Its been heavily used by Java developers for dependency management.

Create Maven Project in Eclipse

Follow the below listed steps in the given order to create a maven project in eclipse.

1 Open Eclipse, click on File -> New -> Maven Project.

eclipse-maven-project-step1

2 Select create a simple project and click next.

eclipse-maven-project-setp2

3 Supply group id (com.mycompany.myproject) and artifact id (project-artifact-id) and click on finish.

eclipse-maven-project-step3

4 Now you should have a project like below in your Eclipse.

eclipse-maven-project-step4

5 Double click on pom.xml file in the project and open it to add your dependencies.

How to create maven project in Eclipse?
Tagged on: