title: Maven is ignoring Cucumber tests
body: <p>I'm trying to run two cucumber feature files by Maven but nothing happens. I'm using the Dutch (NL) version of Gherkin. When I'm running the feature files directly in Eclipse or with Gradle they are running fine. I studied all earlier questions about this issue on Stackoverflow but still couldn't find a solution.</p>
  
  <p>This is my project structure in Eclipse:
  <a href="https://i.stack.imgur.com/qalMW.png" rel="noreferrer">Eclipse project structure</a> </p>
  
  <p>The result of running the project with Maven using the command mvn Test is:</p>
  
  <pre><code>Running nl.werkwel.cucumber.RunTest
  Configuring TestNG with: org.apache.maven.surefire.testng.conf.TestNG652Configurator@f5c0729
  Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.341 sec
  
  Results :
  
  Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
  
  [INFO] BUILD SUCCESS
  </code></pre>
  
  <p>I also tried to run with:
  "mvn test -Dcucumber.options="src/test/resources/registratiepage.feature"
  but the result was the same</p>
  
  <p>This is the POM</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
  
    &lt;groupId&gt;nl.werkwel&lt;/groupId&gt;
    &lt;artifactId&gt;cucumber&lt;/artifactId&gt;
    &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
    &lt;packaging&gt;jar&lt;/packaging&gt;
  
    &lt;name&gt;cucumber&lt;/name&gt;
    &lt;url&gt;http://maven.apache.org&lt;/url&gt;
  
    &lt;properties&gt;
      &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
    &lt;/properties&gt;
  
    &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;info.cukes&lt;/groupId&gt;
          &lt;artifactId&gt;cucumber-java&lt;/artifactId&gt;
          &lt;version&gt;1.2.4&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.testng&lt;/groupId&gt;
          &lt;artifactId&gt;testng&lt;/artifactId&gt;
          &lt;version&gt;6.8.8&lt;/version&gt;
  
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
          &lt;artifactId&gt;selenium-java&lt;/artifactId&gt;
          &lt;version&gt;2.53.0&lt;/version&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;javax.mail&lt;/groupId&gt;
          &lt;artifactId&gt;mail&lt;/artifactId&gt;
          &lt;version&gt;1.4.7&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;junit&lt;/groupId&gt;
          &lt;artifactId&gt;junit&lt;/artifactId&gt;
          &lt;version&gt;4.12&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;info.cukes&lt;/groupId&gt;
          &lt;artifactId&gt;cucumber-junit&lt;/artifactId&gt;
          &lt;version&gt;1.2.4&lt;/version&gt;
      &lt;/dependency&gt;
  
    &lt;/dependencies&gt;
  
  &lt;/project&gt;
  </code></pre>
  
  <p>And here is one of the feature files:</p>
  
  <pre><code># language: nl
  Functionaliteit: Testen van de Registratiepagina
  
    Achtergrond: 
        Gegeven Gebruiker is op de registratiepagina
  
    Scenario: Niet succesvolle registratie, emailadres niet gevuld
      Als Gebruiker geen emailadres invult
      En Klikt op de button nu registreren
      Dan wordt de melding "Voer een waarde in" getoond
  
      Scenario: Link Algeregistreerd
      Als Gebruiker op link algeregistreerd klikt
      Dan gaat gebruiker verder naar het inlogscherm
  
    Scenario: Link Annuleren
      Als Gebruiker op link annuleren klikt
      Dan gaat gebruiker verder naar het inlogscherm
  </code></pre>
  
  <p>The Runner Class</p>
  
  <pre><code>package nl.werkwel.cucumber;
  
  import org.junit.runner.RunWith;
  import cucumber.api.CucumberOptions;
  import cucumber.api.junit.Cucumber;
  
  @RunWith(Cucumber.class)
  @CucumberOptions(
  
  
          plugin = {"pretty", "html:out"},
          features={"."}
  
          )
  
  
  public class RunTest {
  
  }
  </code></pre>