title: Running JUnit test suite using Maven
body: <p>I have written a JUnit test suite for running multiple test cases. </p>
  
  <p>Now I want to run my test suite class (AllTest.java) at once so that all tests are triggered, carried and managed by one class. I know maven-failsafe-plugin is available, but is there any other easier way to invoke a JUnit test suite from Maven?</p>
  
  <p>I dont want to use another plugin for this.</p>
  
  <p>This is my current maven-failsafe-plugin configuration:</p>
  
  <pre><code>&lt;plugin&gt;
    &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
    &lt;artifactId&gt;maven-failsafe-plugin&lt;/artifactId&gt;
    &lt;version&gt;2.9&lt;/version&gt;
    &lt;configuration&gt;
      &lt;includes&gt;
        &lt;include&gt;**/AllTests.java&lt;/include&gt;
      &lt;/includes&gt;
    &lt;/configuration&gt;
    &lt;executions&gt;
      &lt;execution&gt;
        &lt;id&gt;integration-test&lt;/id&gt;
        &lt;goals&gt;
          &lt;goal&gt;integration-test&lt;/goal&gt;
        &lt;/goals&gt;
      &lt;/execution&gt;
      &lt;execution&gt;
        &lt;id&gt;verify&lt;/id&gt;
        &lt;goals&gt;
          &lt;goal&gt;verify&lt;/goal&gt;
        &lt;/goals&gt;
      &lt;/execution&gt;
    &lt;/executions&gt;
  &lt;/plugin&gt;
  </code></pre>