I am trying to do a simple maven build with IntelliJ IDEA 10.5.1 on OS X Lion and am getting the following error:
Error running my-app [package]: No
If M2_HOME is configured to point to the Maven home directory then:
M2_HOME
File -> Settings
Maven
Runner
Insert in the field VM Options the following string:
VM Options
Dmaven.multiModuleProjectDirectory=$M2_HOME
Click Apply and OK
Apply
OK