title: Non-resolvable import POM Failure to find
body: <p>I experimented with spring boot like module in parent pom and now I get error</p>
  
  <pre><code>[ERROR] [ERROR] Some problems were encountered while processing the POMs:
  [ERROR] Non-resolvable import POM: Failure to find org.springframework.boot:spring-boot-dependencies:pom:2.0.0.M6 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @ line 30, column 19
   @ 
  [ERROR] The build could not read 1 project -&gt; [Help 1]
  [ERROR]   
  [ERROR]   The project mydomain.project:main-project:1.0-SNAPSHOT (D:\gitProjects\main-server\sources\pom.xml) has 1 error
  [ERROR]     Non-resolvable import POM: Failure to find org.springframework.boot:spring-boot-dependencies:pom:2.0.0.M6 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @ line 30, column 19 -&gt; [Help 2]
  [ERROR] 
  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  [ERROR] 
  [ERROR] For more information about the errors and possible solutions, please read the following articles:
  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
  [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
  </code></pre>
  
  <p>I tried delete myproject in <code>.m2</code> local repo</p>
  
  <p>I have maven project with 2 modules(simple java and spring boot). I extract parent from spring boot to main pom like dependensyManagment and set paren to spring boot - main project. After that I get this error</p>
  
  <p>I revert changes and all works fine. The step by step I faunt point when all crush</p>
  
  <ol>
  <li>I add this to main pom</li>
  </ol>
  
  <blockquote>
  <pre><code>&lt;dependencyManagement&gt;
      &lt;dependencies&gt;
        &lt;dependency&gt;
          &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
          &lt;artifactId&gt;spring-boot-dependencies&lt;/artifactId&gt;
          &lt;version&gt;2.0.0.M6&lt;/version&gt;
          &lt;type&gt;pom&lt;/type&gt;
          &lt;scope&gt;import&lt;/scope&gt;
        &lt;/dependency&gt;
      &lt;/dependencies&gt;   &lt;/dependencyManagement&gt;
  </code></pre>
  </blockquote>
  
  <ol start="2">
  <li>in spring boot I change this</li>
  </ol>
  
  <blockquote>
  <pre><code>&lt;parent&gt;
        &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
        &lt;artifactId&gt;spring-boot-starter-parent&lt;/artifactId&gt;
        &lt;version&gt;2.0.0.M6&lt;/version&gt;
        &lt;relativePath/&gt; &lt;!-- lookup parent from repository --&gt;
    &lt;/parent&gt;
  </code></pre>
  </blockquote>
  
  <p>to this:</p>
  
  <pre><code>&lt;parent&gt;
          &lt;artifactId&gt;main-project&lt;/artifactId&gt;
          &lt;groupId&gt;main.project&lt;/groupId&gt;
          &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
      &lt;/parent&gt;
  </code></pre>