title: m2eclipse: automatic Maven install upon build of dependencies
body: <p>I have a feeling I'm missing something very basic. Usually such feelings turn out to be justified. I am not very well-versed with Maven so bear with me please.</p>
  
  <p>Using Eclipse Juno and m2eclipse, with an external Maven 3.0.4 install. I have two projects, <code>A</code> and <code>B</code>. Project <code>A</code> depends on project <code>B</code> for compilation. Both projects are packaging=<code>jar</code>. Simple.</p>
  
  <p>Now, I right-click project <code>A</code> and choose <em>Run As -> Maven install</em>. This results in an error, with Maven telling me that it couldn't find project <code>B</code> in the repository.</p>
  
  <p>Makes sense. Project <code>B</code> isn't in the repository. However, I would expect m2eclipse to detect that, and perform <code>mvn install</code> on <code>B</code> before attempting <code>A</code>.</p>
  
  <p>This doesn't happen. <code>mvn install</code> on project <code>A</code> assumes that project <code>B</code> is already in my local repository. I have workspace resolution turned on.</p>
  
  <p>What gives?</p>