I'm using 9013.
I'm always having "Error running test-compile: No valid Maven installation found. Either set the home directory in the configuration dialog or set the M2_HOME environment variable on your system" when trying to run a maven configuration.
The thing is, $M2_HOME is defined on my system. I'm on OSX, don't know if other platform user have been luckier that me.
I'm wondering why the running configurations are not using the Default Maven Settings and Maven Settings from the Maven Projects tab??
It's be nice to fall back on that by default so that it'd be possible to share running configuration between different platform (by not having to specify a path to Maven home)
I've tried to define M2_HOME in IDEA Path Variable section, but can't use it internally for Maven Projects tab or runnig configuration. I get a "Error running test-compile: Specified Maven home directory (M2_HOME) does not exist"
Now, I can't delete this variable. When I start IDEA, it makes it compulsory to provide a value to go any further!! Since I can't use it, it'd be very nice to be able to get rid of it.
All in all, in the end, I have to provide a physical, platform dependant, path to each every configuration:
- Default Maven Settings
- Maven Settings (BTW, how do these interacts?)
- every single Maven configuration