check $m2_home environment variable and mvn script match

idea

eclipse

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

Check $M2_HOME environment variable and mvn script match In eclipse maven

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. ide

-Dmaven.multiModuleProjectDirectory=M2_HOME (For Windows machine) idea

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

相關文章
相關標籤/搜索