Cucumber BDD (Part 2): Creating a Sample Java Project with Cucumber, TestNG, and Maven
Thilina Ashen Gamage

Thilina Ashen Gamage Heys, just wanted to update you I have solved the issue, I was unaware that the <cucumberOutput> needs to point to the JSON generated by cucumber so I specified the file path and it worked fine. I noticed that this however is no longer used in versions greater than 3.16.0 of the reporting dependency which requires the use of<jsonFiles> to be added to specify this file location but for some reason it doesn’t seem to pickup the generated JSON file despite using the file name or identifiers like **/*.json. Therefore I have just sticked with 3.16.0 since this works fine without this.