Skip to content
Advertisement

How do you “Mavenize” a project using Intellij?

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 directory structure is in src/main/java, src/main/test ….

Advertisement

Answer

For those that benefit from a visual, as I did:

enter image description here

Essentially, just right-click on the folder. In this example, it’s called StackOverFlow and choose Add Framework Support and then check the Maven box. Please note, that this option only exists when you have created a class within the src folder.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement