title: Directory structure after converting a project to maven in eclipse
body: <p>I have a java project, which i converted to maven using m2e from within eclipse. Since my project was a legacy project, it was not following maven directory structure such as src/main/java and src/test/java, so after the conversion the previous directory structure didnt change.</p>
  
  <p>I am wondering if there is an easy way or shortcut within m2eclipse to refactor my project to the default directory structure used by maven. </p>
  
  <p>I tried adding a new source folder in my src folder and nest the folders to have src/main/java but I am getting the below error.</p>
  
  <p>Please see the snapshot as i dont have enough reputation to post it.</p>
  
  <p><a href="http://i.stack.imgur.com/vXOex.png" rel="nofollow">Snapshot</a></p>