title: Impose build order for a multi-project in Maven
body: <p>I have a multi project in maven like this:</p>
  
  <pre><code>paren-project
    -&gt; plugin-project
    -&gt; testbed-project
  </code></pre>
  
  <p>The <code>plugin</code> project generates a JAR, which is manually copied to a specific subdirectory of <code>testbed</code> (using whatever embedded script like <a href="/questions/tagged/groovy" class="post-tag" title="show questions tagged 'groovy'" rel="tag">groovy</a> or <a href="/questions/tagged/ant" class="post-tag" title="show questions tagged 'ant'" rel="tag">ant</a>). The important point: I don't want the plugin JAR to be in the classpath of testbed.</p>
  
  <p>But I cannot found the solution to force the plugin project to be build BEFORE the testbed project. If I set the plugin project as dependency of the testbed project, it is added in the classpath.</p>
  
  <p>Any solution, or do I have to switch to a build system like <a href="/questions/tagged/gradle" class="post-tag" title="show questions tagged 'gradle'" rel="tag">gradle</a>, <a href="/questions/tagged/ivy" class="post-tag" title="show questions tagged 'ivy'" rel="tag">ivy</a> or <a href="/questions/tagged/ant" class="post-tag" title="show questions tagged 'ant'" rel="tag">ant</a> ?</p>