title: rest assured imports are not resolved
body: <p>I have included rest assured jars in my POM as below.</p>
  
  <pre><code>    &lt;dependency&gt;
      &lt;groupId&gt;io.rest-assured&lt;/groupId&gt;
      &lt;artifactId&gt;rest-assured&lt;/artifactId&gt;
      &lt;version&gt;3.0.0&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>But still the import statements are showing "The import io cannot be resolved". If i download the rest assured jars and add them manually as external jars the error disappears. </p>
  
  <pre><code>import static io.restassured.RestAssured.*;
  import static org.hamcrest.Matchers.*;
  </code></pre>
  
  <p>I tried removing the </p>
  
  <pre><code>&lt;scope&gt;test&lt;/test&gt; 
  </code></pre>
  
  <p>tag also as suggested in some sites. This doesn't solve the issue. </p>
  
  <pre><code>import static io.restassured.RestAssured.*;
  import static org.hamcrest.Matchers.*;
  
  import org.testng.annotations.BeforeClass;
  import org.testng.annotations.Test;
  
  import io.restassured.RestAssured;
  
  public class OpenURL {
  
      @BeforeClass
      public void initPath() {
  
          RestAssured.baseURI = "http://localhost:9876";
      }
  
      /*******************************************************
       * Send a GET request to /api/f1/2016/drivers.json
       * and check that the answer has HTTP status code 200 
       ******************************************************/
  
      @Test
      public void checkResponseCodeForCorrectRequest() {
  
          given().
          when().
              get("/api/f1/2016/drivers.json").
          then().
              assertThat().
              statusCode(200);
      }
  }
  </code></pre>
  
  <p>My complete POM is here. I am not finding any issues here.</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
  http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;groupId&gt;REST&lt;/groupId&gt;
    &lt;artifactId&gt;REST&lt;/artifactId&gt;
    &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
     &lt;dependencyManagement&gt;
      &lt;dependencies&gt;
          &lt;dependency&gt;
      &lt;groupId&gt;io.rest-assured&lt;/groupId&gt;
      &lt;artifactId&gt;rest-assured&lt;/artifactId&gt;
      &lt;version&gt;3.0.0&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;!-- https://mvnrepository.com/artifact/org.testng/testng --&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;/dependency&gt;
  
                  &lt;dependency&gt;
              &lt;groupId&gt;org.codehaus.groovy&lt;/groupId&gt;
              &lt;artifactId&gt;groovy-all&lt;/artifactId&gt;
              &lt;version&gt;2.4.5&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;/dependencies&gt;
            &lt;/dependencyManagement&gt;
  &lt;/project&gt;
  </code></pre>