title: Running a single test in maven -> No tests were executed
body: <p>When I run a single test in Maven with this command:</p>
  <pre><code>mvn test -Dtest=InitiateTest
  </code></pre>
  <p>I'm getting the following result:</p>
  <pre><code>No tests were executed!
  </code></pre>
  <p>It worked a couple of minutes ago, but now it stopped working for some reason. I tried running <code>mvn clean</code> a couple of times before running the test, it doesn't help.</p>
  <p>The test looks like this:</p>
  <pre><code>import org.openqa.selenium.*;
  import org.openqa.selenium.firefox.FirefoxDriver;
  import org.openqa.selenium.support.ui.Select;
  import org.junit.After;
  import org.junit.Before;
  import org.junit.Test;
  
  public class InitiateTest {
  
      public static FirefoxDriver driver;
  
      @Before
          public void setUp() throws Exception {
              driver = new FirefoxDriver();
      }
  
      @Test
      public void initiateTest() throws Exception {
              driver.get(&quot;http://localhost:8080/login.jsp&quot;);
              ...
      }
  
      @After
      public void tearDown() throws Exception {
          driver.close();
      }
  }
  </code></pre>
  <p><strong>UPDATE:</strong></p>
  <p>It's caused by adding this dependency to POM:</p>
  <pre><code>&lt;dependency&gt;
     &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
     &lt;artifactId&gt;selenium&lt;/artifactId&gt;
     &lt;version&gt;2.0b1&lt;/version&gt;
     &lt;scope&gt;test&lt;/scope&gt;
  &lt;/dependency&gt;
  </code></pre>
  <p>When I remove it, everything works fine. Everything works fine even when I add these two dependencies instead of the previous one:</p>
  <pre><code>&lt;dependency&gt;
     &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
     &lt;artifactId&gt;selenium-support&lt;/artifactId&gt;
     &lt;version&gt;2.0b1&lt;/version&gt;
     &lt;scope&gt;test&lt;/scope&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
     &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
     &lt;artifactId&gt;selenium-firefox-driver&lt;/artifactId&gt;
     &lt;version&gt;2.0b1&lt;/version&gt;
     &lt;scope&gt;test&lt;/scope&gt;
  &lt;/dependency&gt;
  </code></pre>
  <p>This is weird.</p>