title: Can't add dependency to Maven project
body: <p>I'm making project in <strong>Maven</strong>. I added dependency to <strong>pom.xml</strong>, it downloaded dependency to maven repostitory </p>
  
  <p>but I have getting following message: </p>
  
  <blockquote>
    <p>Missing artifact org.springframework:spring-context:jar:5.0.0.M5</p>
  </blockquote>
  
  <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;pl.tutorial&lt;/groupId&gt;
       &lt;artifactId&gt;fiszki&lt;/artifactId&gt;
  &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
  
  &lt;dependencies&gt;
      &lt;dependency&gt;           //here is showing mistake
          &lt;groupId&gt;org.springframework&lt;/groupId&gt;
          &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
          &lt;version&gt;5.0.0.M5&lt;/version&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p></p>
  
  <p>I checked and this dependency is downloaded in my Maven repository.</p>