Site icon

Create Maven Project with IntelliJ IDEA


IntelliJ IDEA has built-in excellent support for build tools like Ant, Maven and Gradle. We can either create blank projects or maven projects based on maven archetype. Let’s learn the steps involved to Create Maven Project with IntelliJ IDEA IDE.


Enable Maven

Enabling Maven build tool in IntelliJ IDEA.

Create a Maven Project

Using Maven you can easily and quickly create a new project based on maven archetype. An archetype is a Maven plugin to create a project as per the template.

maven-archetype-quickstart archetype plugin is used to create a quick and simple java application.


Launch IntelliJ IDEA.


Click on Create New Project.

Select Maven build tool from the left menu.

Check the option Create from the archetype.

Select the quickstart archetype to create a simple java project and click on the Next button.



Enter groupID,artifactID details for your project.

Optionally, you can override the default paths for settings.xml and local repository .m2 folder.

Hit on the Finish button to create the java maven project.



To import changes to the maven project automatically, click on Enable Auto-Import feature.

You can see that the project structure is created for you automatically as shown below. The structure has a resembling test artifact for enabling testing of the development artifacts.



Created POM.xml


<project xmlns="" 






That’s it. We have create a simple Java maven project using a template. We can work by adding the code and test artifacts(classes) to the project. There are several archetypes in Maven to fit for the project purpose. Explore them to create a specific project using the Maven tool.


IntelliJ IDEA ( Community Edition)  Tutorials on this website can be found at:

More information on IntelliJ IDEA IDE , please visit the official website:

Exit mobile version