posts - 85,  comments - 65,  trackbacks - 0
 

check $m2_home environment variable and mvn script match

分类: maven

If u are getting error like -Dmaven.multiModuleProjectDirectory system propery is not set. 

Check $M2_HOME environment variable and mvn script match In eclipse 

then go through Window--> Preference --> Java --> Installed JREs --> Edit In the edit Default VM arguments you need to put If you already set the maven home. 

-Dmaven.multiModuleProjectDirectory=M2_HOME (For Windows machine) 

-Dmaven.multiModuleProjectDirectory=$M2_HOME (For Mac OS X)

posted on 2015-11-07 11:11 30斤大番薯 阅读(...) 评论(...) 编辑 收藏