title: How to resolve deprecated @CucumberOptions?
body: <p>In the following code i was using @cucumber.options.But it says it is deprecated.</p>
  
  <p>So i am trying to use @cucumberoptions which requires an import of "cucumber.api.CucumberOptions".
  But when i checked in my maven dependencies , cucumber.api does not contain cucumberoptions.
  And i am getting a red line for my import "import cucumber.api.CucumberOptions;"</p>
  
  <p>My aim is to create a good report and set its path .</p>
  
  <p>I could find a related question - <a href="https://stackoverflow.com/questions/31138086/how-to-resolve-the-deprecation-of-format-option-in-cucumberoptions">How to resolve the deprecation of format option in @CucumberOptions?</a> here but could not find an answer i am looking for.
  I would really appreciate if any of you could find a resolution to this .</p>
  
  <p>My Code is as follows:-</p>
  
  <pre><code>package featurefiles;
  import org.junit.runner.RunWith;
  import cucumber.api.CucumberOptions;
  import cucumber.api.junit.*;
  @RunWith(Cucumber.class)
  @CucumberOptions(strict = false, features = "features", format = { "pretty",
      "html:target/site/cucumber-pretty",
      "json:target/cucumber.json" }, tags = { "~@ignore" })
  public class CucumberTestRunner {
  }
  </code></pre>