title: Maven failsafe plugin will not run test classes annotated with JUnit Category
body: <p>I have an interface like this:</p>
  
  <pre><code>public interface IntegrationTest {
  }
  </code></pre>
  
  <p>I configure the failsafe plugin like this:</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.14&lt;/version&gt;
      &lt;configuration&gt;
          &lt;groups&gt;acme.test.IntegrationTest&lt;/groups&gt;
      &lt;/configuration&gt;
      &lt;executions&gt;
          &lt;execution&gt;
              &lt;goals&gt;
                  &lt;goal&gt;integration-test&lt;/goal&gt;
              &lt;/goals&gt;
          &lt;/execution&gt;
      &lt;/executions&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>If I then create an integration test like this</p>
  
  <pre><code>@Category(IntegrationTest.class)
  public class ExampleClassIntegrationTest {
  
  @Test
  public void slow_and_painful_test() {
  </code></pre>
  
  <p>This test will not run.</p>
  
  <p>If I however name the class according to the <a href="http://maven.apache.org/surefire/maven-failsafe-plugin/examples/inclusion-exclusion.html" rel="nofollow" title="Inclusions and Exclusions of Tests">Inclusions and Exclusions of Tests</a></p>
  
  <pre><code>**/IT*.java
  **/*IT.java
  **/*ITCase.java
  </code></pre>
  
  <p>Like so:</p>
  
  <pre><code>@Category(IntegrationTest.class)
  public class ExampleClassIT {
  
  @Test
  public void slow_and_painful_test() {
  </code></pre>
  
  <p>The test runs fine. Why do I have to name the test AND have an annotation when i use the groups-tag? Am I missing something? The <a href="http://maven.apache.org/surefire/maven-failsafe-plugin/examples/junit.html" rel="nofollow">documentation</a> on using JUnit states that you can use the Category annotation at the class level.</p>