title: Is there any Maven cmd that can only build test without the whole project?
body: <p>I have a big server project, and some related UnitTest file using maven.</p>
  
  <p>When I added the new UnitTest for some java file, I only want to build the current UnitTest and run it, I don't want to build the whole server project from the beginner.</p>
  
  <p>But when I using the:</p>
  
  <blockquote>
    <p>mvn test -Dtest=NewUnitTest</p>
  </blockquote>
  
  <p>I still need to wait for a long time to build the whole server project.</p>
  
  <p>Is there a way to only build the new added UnitTest file?</p>
  
  <p>Thanks.</p>