title: Dmaven.multiModuleProjectDirectory system propery is not set
body: <p>1) Downloaded maven.
  2) tar xzvf apache-maven-3.3.9-bin.tar.gz
  3) I tried to install maven 3.3.9 on my Mac and when I check the "mvn --version" it says</p>
  
  <p>-Dmaven.multiModuleProjectDirectory system propery is not set. Check $M2_HOME environment variable and mvn script match</p>
  
  <p>4) My bash_profile looks like
  <code>export M2_HOME=/Users/vijay/Documents/Softwares/apache-maven-3.3.9
  export PATH=$PATH:$M2_HOME/bin
  MAVEN_OPTS="-Xmx4096m"
  export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home</code></p>
  
  <p>Can anyone suggest to resolve it and get the maven installed corectly on my Mac</p>