Maven运行报错:-Dmaven.multiModuleProjectDirectory system propery is not set.
在IntelliJ IDEA 14中运行Maven时,提示: -Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environment variable and mvn script match.
在Maven->Runner,VM options中设置(如下图所示): -Dmaven.multiModuleProjectDirectory=$M2_HOME
参考:http://blog.csdn.net/limenghua9112/article/details/44977261