There is change in new version which do not allow to use format={}, says its deprecated. can anyone help how to write the same in new version generate a HTML report at the location mentioned.
format
has been replaced with plugin
so you can use:
@CucumberOptions(plugin = {"progress", "html:target/cucumber-report.html"})