title: How do I get Cucumber Extent Reports to work with Cucumber 5.6.0?
body: <p>I went from Cucumber 1.2.5 to Cucumber 5.6.0. The upgrade went quite smoothly, however my Extent Reports broke. I attempted to upgrade them and use the <a href="https://github.com/extent-framework/extentreports-cucumber4-adapter" rel="nofollow noreferrer">Cucumber 4 Adapter</a>. The documentation was sparse, and I could not get it to work. So I went and downloaded the <a href="https://github.com/foursyth/extentreports-cucumberN-example" rel="nofollow noreferrer">Example Implementation</a>. I was able to compile and run it and get reports. I upgraded the example project to Cucumber 4.8.1, and the Extent Reporter to 4, and it ran, but no report was created. I'm at a loss and my google searches have turned up no info.</p>
  
  <p>Here is the original example project: <a href="https://github.com/foursyth/extentreports-cucumberN-example" rel="nofollow noreferrer">https://github.com/foursyth/extentreports-cucumberN-example</a></p>
  
  <p>Here is my attempt to update it: <a href="https://github.com/dougnoel/extentreports-cucumberN-example/tree/update_to_Cucumber4-adapter" rel="nofollow noreferrer">https://github.com/dougnoel/extentreports-cucumberN-example/tree/update_to_Cucumber4-adapter</a></p>
  
  <p>This is the pom.xml:</p>
  
  <pre><code>    &lt;properties&gt;
      &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
      &lt;cucumber.version&gt;4.8.1&lt;/cucumber.version&gt;
  &lt;/properties&gt;
  &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;com.aventstack&lt;/groupId&gt;
          &lt;artifactId&gt;extentreports-cucumber4-adapter&lt;/artifactId&gt;
          &lt;version&gt;1.0.12&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;io.cucumber&lt;/groupId&gt;
          &lt;artifactId&gt;cucumber-core&lt;/artifactId&gt;
          &lt;version&gt;${cucumber.version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;io.cucumber&lt;/groupId&gt;
          &lt;artifactId&gt;cucumber-java&lt;/artifactId&gt;
          &lt;version&gt;${cucumber.version}&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;io.cucumber&lt;/groupId&gt;
          &lt;artifactId&gt;cucumber-junit&lt;/artifactId&gt;
          &lt;version&gt;${cucumber.version}&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p>This is the test runner:</p>
  
  <pre><code>package cucumber.examples.java.calculator;
  
  import org.junit.runner.RunWith;
  
  import io.cucumber.junit.CucumberOptions;
  import io.cucumber.junit.Cucumber;
  
  @RunWith(Cucumber.class)
  @CucumberOptions(plugin = {"com.aventstack.extentreports.cucumber.adapter.ExtentCucumberAdapter:", "json:target/cucumber-report.json"}
  , tags = { "@foo" }
  )
  public class RunCukesTest {
  
  }
  </code></pre>
  
  <p>Here is the project I updated to Cucumber 5.6.0 and in which I am trying to keep Extent Reports working: <a href="https://github.com/dougnoel/sentinel/tree/93_update_cucumber" rel="nofollow noreferrer">https://github.com/dougnoel/sentinel/tree/93_update_cucumber</a></p>