title: eclipse: maven dependency search shows only old versions
body: <p>I'm using Maven to create a spring project. But there are no new versions of spring dependencies when I use mave dependency search (I mean a window that appears when you click button "Add" to add new dependency). Here's my screenshot:
  <a href="https://i.stack.imgur.com/nBKxb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nBKxb.png" alt="No latest version of spring-cor"></a></p>
  
  <p>I've opened spring-core, and you can see that the latest version is old. 
  In the meantime eclipse maven reposytory window shows the new versions, here's the screenshot:
  <a href="https://i.stack.imgur.com/TpRZT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TpRZT.png" alt="maven repo window show new versions"></a></p>
  
  <p>I forsed Maven to Java 8 in the pom-file, because Maven used Java 5. But it hasn't helped. Here's my modified pom:</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;com.caveofprogramming&lt;/groupId&gt;
      &lt;artifactId&gt;spring-tutorial-5&lt;/artifactId&gt;
      &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
  
      &lt;properties&gt;
          &lt;maven.compiler.source&gt;1.8&lt;/maven.compiler.source&gt;
          &lt;maven.compiler.target&gt;1.8&lt;/maven.compiler.target&gt;
      &lt;/properties&gt;
  
      &lt;build&gt;
          &lt;pluginManagement&gt;
              &lt;plugins&gt;
                  &lt;plugin&gt;
                      &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                      &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                      &lt;version&gt;3.1&lt;/version&gt;
                      &lt;configuration&gt;
                        &lt;source&gt;1.8&lt;/source&gt;
                        &lt;target&gt;1.8&lt;/target&gt;
                      &lt;/configuration&gt;
                  &lt;/plugin&gt;     
              &lt;/plugins&gt;
          &lt;/pluginManagement&gt;
      &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>Plese tell me how to fix this problem?</p>