解決-Dmaven.multiModuleProjectDirectory system property is not set. Check $M2_HOME environment variable and mvn script match.html
1.添加M2_HOME的環境變量maven
2.Preference->Java->Installed JREs->Edit 選擇一個jdk,htm
添加 -Dmaven.multiModuleProjectDirectory=$M2_HOMEblog
參考博客ip
https://www.cnblogs.com/sprinng/p/5141233.html博客