title: Maven - Run JUnit Testsuite in module
body: <p>I have 3 Projects:</p>
  
  <ul>
  <li>ParentProj (parent of A+B)</li>
  <li>ProjA (is a module of ParentProj, contains sources)</li>
  <li>ProjB (is a module of ParentProj, contains sources and tests)</li>
  </ul>
  
  <p>Build order is: 1. ParentProj, 2. ProjA, 3. ProjB (could not be changed!)</p>
  
  <p>I want to tell maven to execute a TestSuite that is located in ProjB.
  If I run the build with this command: <code>mvn clean -e test -Dtest=AllServiceTests</code>, the build will fail because maven could not find the "AllServiceTests"-class in ProjA, which is build before ProjB.</p>
  
  <p>Is there any solution for this problem? (Changing the build order is no solution)</p>