title: Why won't my multi-module Maven project install some of the modules?
body: <p>I'm using Maven for a project where one child project depends on another child project. When I do a <code>mvn clean install</code>, it builds them in the correct order (first the dependency, then the project that needs it), but in the project with the dependency, it downloads it from a remote repo instead of using the one I just built.</p>
  
  <p>Looking at my logs, I see that it's not installing the dependency, even though I'm using the <code>install</code> target. EDIT: It does install some of the dependencies, just not the one I want.</p>
  
  <p>How do I fix this?</p>