I have found a few related questions on this, but they\'re all related to Intellij or on Mac OS. I\'m on Windows 8.1 and using Eclipse:
Eclipse Java EE IDE f
Access the following location in eclipse
Window Preference Java Installed JREs
Now edit Default VM arguments and place below arguments according to your OS type.
Default VM arguments
If Windows,
-Dmaven.multiModuleProjectDirectory=M2_HOME
If Linux,
-Dmaven.multiModuleProjectDirectory=$M2_HOME