Reputation: 99
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.
Upvotes: 8
Views: 27306
Reputation: 41
Right click on Pom.xml and click on add as maven project option (Windows)
Upvotes: 3
Reputation: 11
Like most of the people here, unfortunately, nothing has worked for me except,
There is a "IDE and Project Settings" button beside the search button, after clicking on it, there is an option of "Enable new UI" like below:
you need to click on it (and press Not Now); As soon as you click, all the Standard options like Project, Commit, Maven, Terminal, etc. will start restored permanently.
If any of the above options is not available try updating IntelliJ and then following the steps given in this answer.
I hope it helps resolve this annoying issue..
Upvotes: 0
Reputation: 1
Maven is not integrated
Navigate to File > Settings > Plugins
Search for 'maven' here and add it
Click on enable and restart the intellij You will be able to find 'maven'
Upvotes: 0
Reputation: 16950
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
Upvotes: 7
Reputation: 139
In the file menu select settings -> plugins.
search for maven, select maven, select enable. Restart intellij.
Once restarted you will now have the option to start new maven project and maven functionality will be accessible in all your previous projects.
Tried a few solutions but this is the only thing that worked. In short make sure maven is ON for you.
Upvotes: 0
Reputation: 1828
Apart from getting the Maven option on right click on a project, there is a Maven option on the right hand side of intellij (As shown below, and highlighted). Click on the circle arrows icon for re-importing maven dependencies.
Upvotes: 1
Reputation: 4392
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.
Upvotes: 2
Reputation: 335
Usually if you open settings and search for the term "maven" you should be able to see under "Build, execution deployment" - "Maven" with its corresponding settings. The Maven Home directory should point to a valid maven installation. For example: (unix
$ /home/xy/intellij/plugins/maven/lib/maven3
If that doesnt work, try to reinstall intellij by either through intellij (windows software remove) or removing the config files in your home directory
(unix)
$ /home/xy/.intellijXY
(windows)
%USERPROFILE%\.IdeaICXX
Upvotes: 0