1

Why can I not add the maven framework to my module? enter image description here

Czarek
  • 597
  • 1
  • 10
  • 20

2 Answers2

1

Maven is not considered as a framework in IntelliJ. If you want to add Maven support to your project, you should open the parent pom.xml, which will reimport the project as a Maven project.

See the documentation for further detail.

To import a Maven project with default settings

  1. On the main menu, choose File | Open.
  2. In the dialog box that opens, select the desired pom.xml file, and click OK. In this case the import is performed automatically, with the settings defined in the Maven Integration dialog.
Bastien Jansen
  • 8,756
  • 2
  • 35
  • 53
-1

File > Settings > Plugins > Search for Maven and check Maven Integration.

Now when you right-click your solution and add framework support you should see Maven listed

Screenshot

mcpolandc
  • 217
  • 2
  • 7
  • 15