Last Updated : 04 Aug, 2025
Maven used the Project Object Model (POM) to design the build process, dependency management, and documentation for Java projects. We’ll see steps to create a Maven project in Eclipse IDE using a simple archetype.
Step 1: Create A New Maven ProjectFirst, we will create a new Maven project. For this, we will open our Eclipse IDE, then go to File > New > Maven Project.
New Maven ProjectOnce we click on Maven Project we will get a prompt for setting up our Workspace location.
Workspace PromptAfter setting Workspace location according to our choice. We will click on Next to go to further project setup steps.
Step 2: Setting Up ArchetypeIn this step, we will setup the archetype for our maven project. Archetype is a templating toolkit. It provides a templating solution for your project and helps to create a sample project structure that you can extend based on your business requirements. For this tutorial, we will use the maven-archetype-j2ee-simple archetype for our project.
Archetype SelectionAfter choosing the archetype we will click on Next and it will ask for the details like Group Id, Artifact Id, and Package information.
We will be using the following details:
Maven Project DetailsAfter adding all these details we need to click on the Finish button. Maven will start creating your project and after a few seconds, your project will be created.
Maven project structureBy creating maven project we will use maven's powerful features, you can automate tasks, manage project dependencies efficiently, and integrate with other tools like Jenkins for continuous integration.
Creating MAVEN project for hibernate framework and adding dependencies
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4