Right-click on the module, select "Add framework support...", and check the "Maven" technology.

(This also creates a pom.xml for you to modify.)

If you mean adding source repository elements, I think you need to do that manually–not sure.

Pre-IntelliJ 13 this won't convert the project to the Maven Standard Directory Layout, 13+ it will.

Answer from Dave Newton on Stack Overflow
🌐
JetBrains
jetbrains.com › help › idea › convert-a-regular-project-into-a-maven-project.html
Add Maven support to an existing Java project | IntelliJ IDEA Documentation
In the Project tool window (press Alt+1 to open it), select the module or the project directory to which you want to add Maven. In our case, it is the MortgageCalculator directory.
🌐
JetBrains
jetbrains.com › help › idea › maven-support.html
Maven | IntelliJ IDEA Documentation
In Advanced Settings, specify the following Maven coordinates that are added to the pom.xml file: GroupId - a package of a new project. ArtifactId - a name of your project. For more information about Maven coordinates, refer to Maven naming conventions. Click Create. IntelliJ IDEA creates a Maven project with the pom.xml file that includes compiler source and target versions of Java, the dedicated Maven tool window, and all the necessary dependencies to start your work.
Discussions

Can't add Maven support to existing project
Can you share the errors you mentioned encountering? I have not run into any issues with IntelliJ and Maven. More on reddit.com
🌐 r/IntelliJIDEA
9
4
June 18, 2025
java - How do you "Mavenize" a project using Intellij? - Stack Overflow
I have seen many posts about using eclipse to Mavenize a project. Is there a easy way to do that in IntelliJ? From what I understand about "Mavenize", it's just add some xml in pom.xml and the More on stackoverflow.com
🌐 stackoverflow.com
No matter how I create my Spring boot project, IntelliJ is unable to recognize the dependencies in pom file and more!
When getting this it's usually a sign of wrong JDK, misconfigured maven. And yeah, you need to let it scan and add dependencies. More on reddit.com
🌐 r/IntelliJIDEA
19
3
March 18, 2024
Does Intellij Automatically install Maven?
IntelliJ has maven bundled into it. That is why you can run maven within IntelliJ but not the command line. You may also install maven yourself and tell IntelliJ to use that version which will solve your problem. More on reddit.com
🌐 r/IntelliJIDEA
4
3
July 16, 2018
🌐
JetBrains
jetbrains.com › guide › java › tutorials › working-with-maven › importing-a-project
Importing a Maven project - JetBrains Guide
February 17, 2023 - However, if you know the project, and you believe the code and the dependencies it downloads are safe, select Trust Project. IntelliJ IDEA will use the Maven definition to figure out the structure of the application, and of course download all the required dependencies and add them to the project.
🌐
JetBrains
jetbrains.com › help › idea › work-with-maven-dependencies.html
Maven dependencies | IntelliJ IDEA Documentation
May 19, 2026 - In the pom.xml file, add a dependency you need. When you change the pom.xml, IntelliJ IDEA displays a notification suggesting to load the changes. Click in the editor to import the dependency and update your project. In the Maven tool window, press .
🌐
Reddit
reddit.com › r/intellijidea › can't add maven support to existing project
r/IntelliJIDEA on Reddit: Can't add Maven support to existing project
June 18, 2025 -

The title pretty much sums up the issue but I will provide more context here. I am self learning Java so the error could be on me but I can't seem to get IntelliJ to do this.

I have a simple console application that I built and my next step in learning was to add Maven support (not suggested by me). I followed the instructions in the docs to a T but it seems to fail on step 5. Here is step 5:

"IntelliJ IDEA detects a Maven build script and displays a notification suggesting to load a Maven project. Click Load Maven Project. IntelliJ IDEA adds a default POM to the project and generates the standard Maven layout in Project tool window."

I've created the pom.xml file and clicked 'Load Maven Project' on the rare occasions that the button does pop up but I get nothing. It does not generate the standard Maven layout and I run into all kinds of errors when I try to do that manually.

Has anyone else ran into this? I am on version 2025.1.2 on IntelliJ btw.

EDIT: Turns out manually adding the project file structure was a skill issue on my part. I did not correctly import my files with the new files.

IntelliJ still does not automatically create the project structure as stated in their docs though.

🌐
YouTube
youtube.com › programmingknowledge
How To Add Maven To Java Project In IntelliJ IDEA - YouTube
In this video tutorial, you will learn how to add Maven to Java project in IntelliJ IDEA. Maven is a powerful tool for managing dependencies and building Jav...
Published   May 5, 2023
Views   7K
Find elsewhere
🌐
JetBrains
jetbrains.com › help › idea › delegate-build-and-run-actions-to-maven.html
Maven projects | IntelliJ IDEA Documentation
External changes: when you select ... you want to add files such as maven.config or jvm.config, you can do so by creating an empty file in the project....
🌐
YouTube
youtube.com › learningfromexperience
How to Setup Maven Project in Intellij IDEA and add Dependencies - YouTube
This video will show you how to set up Maven in Intellij and add dependencies. We will demonstrate how to set up Maven in Intellij and then add dependencies ...
Published   October 1, 2024
Views   1K
🌐
JetBrains
jetbrains.com › guide › java › tutorials › working-with-maven › creating-a-project
Creating a Maven project - JetBrains Guide
February 17, 2023 - From the Welcome Screen select New Project, or if you already have an IntelliJ IDEA project open, select File -> New -> Project... Choose a name for your project such as "mavenexample" and then keeping the default of Java on the left, select ...
🌐
TutorialsPoint
tutorialspoint.com › maven › maven_intellij_idea.htm
Maven - IntelliJ IDEA IDE Integration
Open IntelliJ IDEA. Select File Menu > New Project Option. Select import project from existing model. ... Select Project location, where a project was created using Maven. We have created a Java Project consumerBanking.
🌐
YouTube
youtube.com › watch
Intellij - Add Maven to existing project [2022]
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.
🌐
Baeldung
baeldung.com › home › maven › converting a java project/module into a maven project/module in intellij idea
Converting a Java Project/Module Into a Maven Project/Module in IntelliJ IDEA | Baeldung
July 17, 2025 - This can be done by either selecting ... Once the project is successfully loaded, we can navigate to the project/module in the “Project Explorer” pane and right-click on it....
🌐
Mkyong
mkyong.com › home › intellij › convert a java project to maven project in intellij idea
Convert a Java project to Maven project in IntelliJ IDEA - Mkyong.com
May 24, 2021 - Later we will convert the above non-Maven project into a Java project support Maven features in IntelliJ IDEA. Right clicks on the project name, clicks Add Framework Support..., and then selects Maven.
🌐
DZone
dzone.com › coding › java › importing a maven project in intellij idea
Importing a Maven Project in IntelliJ IDEA - DZone
September 29, 2020 - Select the pom.xml file of the Maven project you want to import and click Open as Project. NOTE: The welcome window is only shown when you close all projects in IntelliJ IDEA.
🌐
Java Code Geeks
javacodegeeks.com › home › software development
How to add maven Support to a Java Project in IntelliJ - Java Code Geeks
March 10, 2020 - That’s all for this post. So we saw in this post, that if we have a non-maven java project and add maven support to it, IntelliJ adds a pom.xml file in our project and also we can see a tab for Maven, using which we can run maven commands.
🌐
GeeksforGeeks
geeksforgeeks.org › java › how-to-create-a-maven-project-in-intellij-idea
Creating a Maven Project in IntelliJ IDEA - GeeksforGeeks
... Step 2: We can also create project from existing ongoing project with the New> project option. ... Step 3: After selecting Create New Project. In the New Project window, choose Maven as your project type.
Published   January 9, 2026
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 206859135-How-to-add-new-modules-to-a-Maven-project
How to add new modules to a Maven project? – IDEs Support (IntelliJ Platform) | JetBrains
IIRC you can "Open Project" (selecting a pom.xml as the project) and then choose to add the imported modules in the current project. Edit : I just did it, the steps are "New Project" > Import from external model > Maven + select Import into current project Edited by: Thibaut on Jun 10, 2008 2:57 PM ... Well, I did that, but IntelliJ just keeps asking me to remove the other modules, and I have no idea on how to prevent that..
🌐
JetBrains
jetbrains.com › help › idea › maven-projects-tool-window.html
Maven tool window | IntelliJ IDEA Documentation
September 17, 2025 - The Maven tool window also displays the Dependencies node if dependencies are added to your project. If you removed the Maven tool window from the sidebar, select View | Tool Windows | Maven from the main menu to reopen it. When your project is created or imported, IntelliJ IDEA displays Maven ...