Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij maven not exist

Maven on the intellij was unavailable(think removed).I can not make new maven project or import dependency form pom.xml using: right click->maven->reImport.No maven option exist when right click.

like image 749
WARM Avatar asked Apr 14 '16 07:04

WARM


People also ask

How do I get Maven on IntelliJ?

In the Project tool window, right-click your project and select Add Framework Support. In the dialog that opens, select Maven from the options on the left and click OK. IntelliJ IDEA adds a default POM to the project and generates the standard Maven layout in Project tool window.

How do I know if Maven is installed in IntelliJ?

Go to File -> Settings and use the search bar to find maven settings. There you can find the maven version (usually against the field "Maven home directory" ).

How run Maven install in IntelliJ?

Under Maven Projects tab (usually on the right hand side), select the goals you want Intellij to run after a Build -> Make Project and then right click and select the trigger (for instance in the above snapshot, the trigger was chosen as 'Execute After Make'. You can choose whatever you wish).


2 Answers

Maybe Maven integration is disabled.

Windows: Navigate File > Settings > Plugins

MacOS: Navigate Preferences > Plugins

Then switch to Installed tab, search for maven and click enable button.

https://www.jetbrains.com/help/idea/managing-plugins.html

like image 106
Saikat Avatar answered Nov 15 '22 11:11

Saikat


It looks like the installation iscorrupted.

Remove the .IntellijXX or .IdeaICXX settings folder, which can be found under in the current user directory and after restarting Intellij, it should recreate everything fixing the problem.

like image 23
dambros Avatar answered Nov 15 '22 10:11

dambros