title: Project Build Error : Non-resolvable parent POM
body: <p>I am working on a spring boot application. 
  The maven version i use is 3.3.9. In settings.xml i have configured the proxy as well. 
  The maven build is getting <strong>SUCCESS</strong> in command prompt. But when i try to import the project to eclipse am getting project build error.</p>
  
  <p><strong>Methods i have tried to resolve the error:</strong></p>
  
  <ol>
  <li>used maven->Update maven project (no improvement)</li>
  <li>In eclipse i have changed the location of local m2 repository
  as windows->preferences->maven->user settings and pointed it to C:\apache-maven-3.3.9\conf\settings.xml (no improvement)</li>
  <li>Tried executing mvn eclipse:eclipse command. But it failed.</li>
  <li>used the command in cmd <strong>mvn clean install -U</strong></li>
  </ol>
  
  <p><strong>Contents of the pom</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &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.sample.eig&lt;/groupId&gt;
     &lt;artifactId&gt;ols&lt;/artifactId&gt;
     &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
     &lt;packaging&gt;jar&lt;/packaging&gt;
     &lt;name&gt;ols&lt;/name&gt;
     &lt;description&gt;Spring Boot Project&lt;/description&gt;
     &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.RELEASE&lt;/version&gt;
        &lt;relativePath /&gt;
     &lt;/parent&gt;
     &lt;repositories&gt;
        &lt;repository&gt;
           &lt;id&gt;0&lt;/id&gt;
           &lt;name&gt;TMS&lt;/name&gt;
           &lt;url&gt;http://archiva.sample.com:10203/archiva/repository/repo&lt;/url&gt;
        &lt;/repository&gt;
     &lt;/repositories&gt;
     &lt;properties&gt;
        &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
        &lt;project.reporting.outputEncoding&gt;UTF-8&lt;/project.reporting.outputEncoding&gt;
        &lt;java.version&gt;1.8&lt;/java.version&gt;
        &lt;azure.version&gt;0.2.3&lt;/azure.version&gt;
     &lt;/properties&gt;
     &lt;dependencies&gt;
        &lt;dependency&gt;
           &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
           &lt;artifactId&gt;spring-boot-starter-mail&lt;/artifactId&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
           &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
           &lt;artifactId&gt;spring-boot-starter-jdbc&lt;/artifactId&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
           &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
           &lt;artifactId&gt;spring-boot-starter-data-jpa&lt;/artifactId&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
           &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
           &lt;artifactId&gt;spring-boot-starter-security&lt;/artifactId&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
           &lt;groupId&gt;org.apache.commons&lt;/groupId&gt;
           &lt;artifactId&gt;commons-lang3&lt;/artifactId&gt;
           &lt;version&gt;3.0.1&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
           &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
           &lt;artifactId&gt;spring-boot-starter-web&lt;/artifactId&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
           &lt;groupId&gt;com.sendgrid&lt;/groupId&gt;
           &lt;artifactId&gt;sendgrid-java&lt;/artifactId&gt;
           &lt;version&gt;4.1.2&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
           &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
           &lt;artifactId&gt;spring-boot-starter-test&lt;/artifactId&gt;
           &lt;scope&gt;test&lt;/scope&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
           &lt;groupId&gt;io.springfox&lt;/groupId&gt;
           &lt;artifactId&gt;springfox-swagger2&lt;/artifactId&gt;
           &lt;version&gt;2.7.0&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
           &lt;groupId&gt;io.springfox&lt;/groupId&gt;
           &lt;artifactId&gt;springfox-swagger-ui&lt;/artifactId&gt;
           &lt;version&gt;2.7.0&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
           &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
           &lt;artifactId&gt;spring-boot-starter-cache&lt;/artifactId&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
           &lt;groupId&gt;net.sf.ehcache&lt;/groupId&gt;
           &lt;artifactId&gt;ehcache&lt;/artifactId&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
           &lt;groupId&gt;org.springframework.security.oauth&lt;/groupId&gt;
           &lt;artifactId&gt;spring-security-oauth2&lt;/artifactId&gt;
           &lt;version&gt;2.3.3.RELEASE&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
           &lt;groupId&gt;org.springframework.security&lt;/groupId&gt;
           &lt;artifactId&gt;spring-security-config&lt;/artifactId&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
           &lt;groupId&gt;com.microsoft.sqlserver&lt;/groupId&gt;
           &lt;artifactId&gt;sqljdbc4&lt;/artifactId&gt;
           &lt;version&gt;4.0&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
           &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
           &lt;artifactId&gt;spring-boot-starter-thymeleaf&lt;/artifactId&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
           &lt;groupId&gt;net.sourceforge.nekohtml&lt;/groupId&gt;
           &lt;artifactId&gt;nekohtml&lt;/artifactId&gt;
           &lt;version&gt;1.9.21&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
           &lt;groupId&gt;commons-logging&lt;/groupId&gt;
           &lt;artifactId&gt;commons-logging&lt;/artifactId&gt;
           &lt;version&gt;1.1.1&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
           &lt;groupId&gt;com.microsoft.ews-java-api&lt;/groupId&gt;
           &lt;artifactId&gt;ews-java-api&lt;/artifactId&gt;
           &lt;version&gt;2.0&lt;/version&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
           &lt;groupId&gt;org.jsoup&lt;/groupId&gt;
           &lt;artifactId&gt;jsoup&lt;/artifactId&gt;
           &lt;version&gt;1.10.2&lt;/version&gt;
        &lt;/dependency&gt;
     &lt;/dependencies&gt;
     &lt;build&gt;
        &lt;plugins&gt;
           &lt;plugin&gt;
              &lt;groupId&gt;org.springframework.boot&lt;/groupId&gt;
              &lt;artifactId&gt;spring-boot-maven-plugin&lt;/artifactId&gt;
           &lt;/plugin&gt;
        &lt;/plugins&gt;
     &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>The error log is as follows:</p>
  
  <p><strong>Project build error:</strong> Non-resolvable parent POM Failure to transfer org.springframework.boot:spring-boot-starter-parent:pom:2.0.0.RELEASE from <a href="http://repo.maven.apache.org/maven2/" rel="nofollow noreferrer">http://repo.maven.apache.org/maven2/</a> was cached in the local repository, resolution will not be reattempted until the update interval of artie has elapsed or updates are forced. Original error: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.0.0.RELEASE from/to artie (<a href="http://repo.maven.apache.org/maven2/" rel="nofollow noreferrer">http://repo.maven.apache.org/maven2/</a>): NullPointerException and 'parent.relativePath' points at no local POM pom.xml       </p>