To create a maven project using IntelliJ we can to import: pom.xml file or create a project from scratch. This post describes how to use this second option.

First, we must to open Wizard and select: Create New Project

Create New Project
Create New Project

From next window select: maven and after that mark: Create from archetype

Create from archetype
Create from archetype

On the same wizard window select: org.jetbrains.idea.maven.model.maven-archetype-quickstart

org.jetbrains.idea.maven.model.maven-archetype-quickstart
org.jetbrains.idea.maven.model.maven-archetype-quickstart

On the next window view type GroupId and ArtifactId:

GroupId and ArtifactId
GroupId and ArtifactId

Select Maven home directory:

Maven home directory
Maven home directory

The last but not least, insert location directory of your project:

Directory
Directory

The last step is to click Finish button to create a project.

My site is free of ads and trackers. Was this post helpful to you? Why not BuyMeACoffee