title: Ensuring MAVEN_HOME is set correctly
body: <p>A Java and Maven noob here:</p>
  
  <p>Using OSX 10.8</p>
  
  <p>And Installed Maven with HomeBrew</p>
  
  <p>1- If I say <code>which mvn</code> I will get this: <code>/usr/local/bin/mvn</code></p>
  
  <p>2- If I say <code>echo $MAVEN_HOME</code>  I will get nothing back.</p>
  
  <p>3- If I go to my Maven Installation on EClipse it will look like this:</p>
  
  <p><img src="https://i.stack.imgur.com/3G8V6.png" alt="enter image description here"></p>
  
  <p>4- If I go to Maven settings in IntelliJ, it will look like this:  So far I have been able to run Maven goals with IntelliJ.</p>
  
  <p><img src="https://i.stack.imgur.com/LIIxK.png" alt="enter image description here"></p>
  
  <p>Ok That's all I have.  Can you please take a look and see what are the inconsistencies I am having and what things to fix to set this correctly everywhere? </p>