title: maven surefire plugin executes excludes also
body: <p>I have the following configuration for using maven-surefire-plugin to execute my integration tests and unit tests..</p>
  
  <pre><code>&lt;plugin&gt;
                  &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                  &lt;artifactId&gt;maven-surefire-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.16&lt;/version&gt;
                  &lt;executions&gt;
                      &lt;execution&gt;
                          &lt;id&gt;unit-tests&lt;/id&gt;
                          &lt;phase&gt;test&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;test&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;excludes&gt;
                                  &lt;exclude&gt;**/*Test.java&lt;/exclude&gt;
                                  &lt;exclude&gt;**/*TestCase.java&lt;/exclude&gt;
                              &lt;/excludes&gt;
                              &lt;includes&gt;
                                  &lt;include&gt;**/MySuite.java&lt;/include&gt;
                              &lt;/includes&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                      &lt;execution&gt;
                          &lt;id&gt;integration-tests&lt;/id&gt;
                          &lt;phase&gt;integration-test&lt;/phase&gt;
                          &lt;goals&gt;
                              &lt;goal&gt;test&lt;/goal&gt;
                          &lt;/goals&gt;
                          &lt;configuration&gt;
                              &lt;skip&gt;true&lt;/skip&gt;
                              &lt;includes&gt;
                                  &lt;include&gt;**/BarSuite.java&lt;/include&gt;
                              &lt;/includes&gt;
                          &lt;/configuration&gt;
                      &lt;/execution&gt;
                  &lt;/executions&gt;
              &lt;/plugin&gt;
  </code></pre>
  
  <p>However, when executing the unit tests it appears to run my individual test classes as well as executing the suite which runs those same classes. How can I configure it to only execute that of which i include? i.e the suite? (MySuite)</p>
  
  <p>thanks,</p>