title: Cucumber, java,maven,Junit extend report not generating
body: <p>I have tried lots of options for generating the extend report of cucumber+ java+ maven + Junit, but it is not generating the extends report. Below is my code here:</p>
  
  <p>Below is my Pom.xml file:</p>
  
  <pre><code>&lt;dependencies&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;org.testng&lt;/groupId&gt;
    &lt;artifactId&gt;testng&lt;/artifactId&gt;
    &lt;version&gt;6.9.10&lt;/version&gt;
    &lt;scope&gt;test&lt;/scope&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;scope&gt;test&lt;/scope&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;info.cukes&lt;/groupId&gt;
    &lt;artifactId&gt;cucumber-core&lt;/artifactId&gt;
    &lt;version&gt;1.2.5&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;org.seleniumhq.selenium&lt;/groupId&gt;
    &lt;artifactId&gt;selenium-server&lt;/artifactId&gt;
    &lt;version&gt;2.53.1&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
    &lt;artifactId&gt;selenium-remote-driver&lt;/artifactId&gt;
    &lt;version&gt;3.3.1&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
    &lt;artifactId&gt;selenium-api&lt;/artifactId&gt;
    &lt;version&gt;3.10.0&lt;/version&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;3.3.1&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;!-- https://mvnrepository.com/artifact/info.cukes/cucumber-junit --&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.5&lt;/version&gt;
    &lt;scope&gt;test&lt;/scope&gt;
  &lt;/dependency&gt;
  &lt;!-- https://mvnrepository.com/artifact/info.cukes/cucumber-jvm --&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;info.cukes&lt;/groupId&gt;
    &lt;artifactId&gt;cucumber-jvm&lt;/artifactId&gt;
    &lt;version&gt;1.2.5&lt;/version&gt;
    &lt;type&gt;pom&lt;/type&gt;
  &lt;/dependency&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.5&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-support&lt;/artifactId&gt;
    &lt;version&gt;3.10.0&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
    &lt;artifactId&gt;selenium-chrome-driver&lt;/artifactId&gt;
    &lt;version&gt;3.10.0&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java --&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;mysql&lt;/groupId&gt;
    &lt;artifactId&gt;mysql-connector-java&lt;/artifactId&gt;
    &lt;version&gt;8.0.11&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;!--  Cucumber Gherkin SYNTAX --&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;info.cukes&lt;/groupId&gt;
    &lt;artifactId&gt;gherkin&lt;/artifactId&gt;
    &lt;version&gt;2.12.2&lt;/version&gt;
   &lt;/dependency&gt;
   &lt;!-- 1st is for Cucumber Extent advance Reporting --&gt;
   &lt;dependency&gt;
    &lt;groupId&gt;com.vimalselvam&lt;/groupId&gt;
    &lt;artifactId&gt;cucumber-extentsreport&lt;/artifactId&gt;
    &lt;version&gt;3.1.1&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;com.aventstack&lt;/groupId&gt;
    &lt;artifactId&gt;extentreports&lt;/artifactId&gt;
    &lt;version&gt;3.1.1&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
    &lt;groupId&gt;info.cukes&lt;/groupId&gt;
    &lt;artifactId&gt;cucumber-testng&lt;/artifactId&gt;
    &lt;version&gt;1.2.5&lt;/version&gt;
   &lt;/dependency&gt;
   &lt;/dependencies&gt;
   also plugins from pom.xml
   &lt;plugin&gt;
        &lt;artifactId&gt;maven-clean-plugin&lt;/artifactId&gt;
        &lt;version&gt;3.0.0&lt;/version&gt;
      &lt;/plugin&gt;
  
      &lt;plugin&gt;
        &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
        &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
        &lt;version&gt;3.0&lt;/version&gt;
        &lt;configuration&gt;
          &lt;fork&gt;true&lt;/fork&gt;
          &lt;executable&gt;C:\Program Files\Java\jdk1.8.0_66\bin\javac.exe&lt;/executable&gt;
          &lt;source&gt;1.8&lt;/source&gt;
          &lt;target&gt;1.8&lt;/target&gt;
        &lt;/configuration&gt;
      &lt;/plugin&gt;
        &lt;plugin&gt;
            &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
            &lt;artifactId&gt;maven-surefire-report-plugin&lt;/artifactId&gt;
            &lt;version&gt;2.20&lt;/version&gt;
        &lt;/plugin&gt;
        &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.18.1&lt;/version&gt;
            &lt;configuration&gt;
                &lt;includes&gt;
                    &lt;!--          &lt;include&gt;**/*Runner.java&lt;/include&gt;    --&gt;
                    &lt;!--          &lt;exclude&gt;**/*Demo.java&lt;/exclude&gt;      --&gt;
                    &lt;include&gt;**/*RunnerMMT.java&lt;/include&gt;
                &lt;/includes&gt;
            &lt;/configuration&gt;
        &lt;/plugin&gt;
  
  
     TestRunner.class file
     plugin = { 
    "com.vimalselvam.cucumber.ExtentCucumberFormatter:output/report.html"
                          //"pretty","html:target/cucumber- 
     htmlreport/cucumber-pretty",
                          //"json:target/cucumber-report/cucumber.json",
                          }
  
   @AfterClass
   public static void reportSetup()
   {
    Reporter.loadXMLConfig(new 
    File("D:\\ProjectsLive_Java\\Pls\\src\\test\\Resources\\extent- 
    config.xml"));
    /*Properties p = System.getProperties();
    p.list(System.out);*/
  
      Reporter.setSystemInfo("User 
       Name",System.getProperty("user.name"));
      Reporter.setSystemInfo("Time Zone", 
      System.getProperty("user.timezone"));
      Reporter.setSystemInfo("64 Bit", "Windows 10");
      Reporter.setSystemInfo("2.53.0", "Selenium");
      Reporter.setSystemInfo("3.3.9", "Maven");
      Reporter.setSystemInfo("1.8.0_66", "Java Version");
      Reporter.setTestRunnerOutput("Cucumber JUnit Test Runner");
   }
  
   extend-config.xml
  
   &lt;?xml version="1.0" encoding="UTF-8"?&gt;
   &lt;extentreports&gt;
   &lt;configuration&gt;
      &lt;!-- report theme --&gt;
      &lt;!-- standard, dark --&gt;
      &lt;theme&gt;standard&lt;/theme&gt;
  
      &lt;!-- document encoding --&gt;
      &lt;!-- defaults to UTF-8 --&gt;
      &lt;encoding&gt;UTF-8&lt;/encoding&gt;
  
      &lt;!-- protocol for script and stylesheets --&gt;
      &lt;!-- defaults to https --&gt;
      &lt;protocol&gt;https&lt;/protocol&gt;
  
      &lt;!-- title of the document --&gt;
      &lt;documentTitle&gt;ExtentReports&lt;/documentTitle&gt;
  
      &lt;!-- report name - displayed at top-nav --&gt;
      &lt;reportName&gt;JUnit TestRunner : Cucumber Report&lt;/reportName&gt;
  
      &lt;!-- report headline - displayed at top-nav, after reportHeadline --&gt;
      &lt;reportHeadline&gt;&lt;/reportHeadline&gt;
  
      &lt;!-- global date format override --&gt;
      &lt;!-- defaults to yyyy-MM-dd --&gt;
      &lt;dateFormat&gt;yyyy-MM-dd&lt;/dateFormat&gt;
  
      &lt;!-- global time format override --&gt;
      &lt;!-- defaults to HH:mm:ss --&gt;
      &lt;timeFormat&gt;HH:mm:ss&lt;/timeFormat&gt;
  
      &lt;!-- custom javascript --&gt;
      &lt;scripts&gt;
          &lt;![CDATA[
      $(document).ready(function() {
  
      });
    ]]&gt;
      &lt;/scripts&gt;
  
      &lt;!-- custom styles --&gt;
      &lt;styles&gt;
          &lt;![CDATA[
  
    ]]&gt;
      &lt;/styles&gt;
   &lt;/configuration&gt;
   &lt;/extentreports&gt;
  </code></pre>