title: How to setup path for maven
body: <p>I am trying to setup a path variable for my maven installation. The system information is like:</p>
  
  <pre><code> [user1@machine1]~% whereis maven
   maven: /etc/maven
   [user1@machine1]~% cd /etc/maven
   [user1@machine1]/etc/maven% ls
   maven2-depmap.xml
  </code></pre>
  
  <p>should I setup path like</p>
  
  <pre><code>export MAVEN_HOME=/home/user1/etc/maven/
  </code></pre>
  
  <p>But based on <code>ls</code> command, it seems that there does not exist the binary maven file except <code>maven2-depmap.xml</code> under <code>/etc/maven/</code></p>