Maven and Spring Boot - non resolvable parent pom - repo.spring.io (Unknown host)
10:55 20 Aug 2015

I am trying to build my project but I get this:

Non-resolvable parent POM: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.3.0.M3 from/to spring-snapshots (http://repo.spring.io/snapshot): repo.spring.io and 'parent.relativePath' points at no local POM @ line 16, column 10: Unknown host repo.spring.io -> [Help 2]

Here is how I specify the parent of my pom.xml:


    org.springframework.boot
    spring-boot-starter-parent
    1.3.0.M3
    

The is empty so that it forces maven to look for the parent in the remote repository. However, it says that repo.spring.io is an unknown host.

Here is how I define the repositories in my pom.xml:


    
        spring-snapshots
        http://repo.spring.io/snapshot
        
            true
        
    
    
        spring-milestones
        http://repo.spring.io/milestone
    



    
        spring-snapshots
        http://repo.spring.io/snapshot
    
    
        spring-milestones
        http://repo.spring.io/milestone
    

Any ideas?

spring maven spring-boot pom.xml parent-pom