ha a hiba:
-Dmaven.multiModuleProjectDirectory system propery is not set Check $M2_HOME environment variable and mvn script match.
megoldás:
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)
src:
http://stackoverflow.com/questions/29285148/eclipse-error-setting-up-maven-project-for-class-exercise-check-m2-home-enviro