title: What is the advantage of the 'src/main/java'' convention?
body: <p>I've noticed that a lot of projects have the following structure:</p>
  
  <ul>
  <li>Project-A
  
  <ul>
  <li>bin</li>
  <li>lib</li>
  <li>src
  
  <ul>
  <li>main
  
  <ul>
  <li>java
  
  <ul>
  <li>RootLevelPackageClass.java</li>
  </ul></li>
  </ul></li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>I currently use the following convention (as my projects are 100% java):</p>
  
  <ul>
  <li>Project-A
  
  <ul>
  <li>bin</li>
  <li>lib</li>
  <li>src
  
  <ul>
  <li>RootLevelPackageClass.java</li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>I'm not currently using Maven but am wondering if this is a Maven convention or not or if there is another reason. Can someone explain why the first version is so popular these days and if I should adopt this new convention or not?</p>
  
  <p>Chris</p>