title: In Eclipse m2e, how to reference workspace project?
body: <p>How can I reference another workspace project using Eclipse <em>m2e</em>? </p>
  
  <p>Do I have to add a project dependency in the project setting? But in that case the dependency is not shown in the pom.</p>
  
  <p>If I set them in the pom, it will not reference the project in workspace but reference the jar in the local repository. Quite annoying, anyone can help? </p>