When I create a new Maven project, I see an error message that says:
[FATAL_ERROR] Cannot start Maven: No valid Maven installation found. Either set the home directory in the configuration dialog or set the M2_HOME environment variable on your system.
In terminal (I'm on a Mac) if I do:
echo $M2
echo $M2_HOME
it displays the full path to my /apache-maven-3.0.3/bin
and /apache-maven-3.0.3
folders.
Why would IntelliJ not be able to pick this up?