title: target folder vs local repository
body: <p>I know  that Maven houses the outcome of the build in the local repository (artifacts goes installed under <code>~/.m2/repository/</code>), but it also outputs the compiled classes in the <code>target</code> folder next to <code>src</code>.</p>
  
  <p>Is there any difference between what goes in the local repository and what goes in the <code>target</code> folder?</p>