Question

Maven was installed and was working just fine before with my previous versions of IntelliJ Idea.

I just installed the trial version on IntelliJ 13 and my existing maven project stopped working!

The error was:

No valid Maven installation found.
Était-ce utile?

La solution

The easiest solution was to set the Maven Home Directory manually in your to your executable mvm location [/usr/local/maven] in my case.

Other solutions I came across needs a reboot.

Alternative solution here:

  1. M2_HOME not being picked by IntelliJ Idea
  2. Setting environment variable in OS X
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top