Solved: -Dmaven.multiModuleProjectDirectory system property is not set

Solved: -Dmaven.multiModuleProjectDirectory system property is not set

When we try to run Maven Project from Eclipse IDE, then we may encounter error such as -Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environment variable and mvn script match.

Interesting Books on Jenkins and DevOps… Have a look at it:

Solution:

1) Open Eclipse IDE
2) Go to Window-> Preference -> Java -> Installed JREs

3) Click on Edit In the edit Default VM arguments
4) For Windows machine: -Dmaven.multiModuleProjectDirectory=M2_HOME
5) For Mac OS X: -Dmaven.multiModuleProjectDirectory=$M2_HOME

Solved: -Dmaven.multiModuleProjectDirectory system property is not set
Solved: -Dmaven.multiModuleProjectDirectory system property is not set

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s