java - Spring trying to pull snapshot from milestone repository -


trying build https://github.com/spring-projects/spring-social-samples/tree/master/spring-social-showcase-boot

gradle build --info 

produces

resource missing. [http get: http://repo.spring.io/milestone/org/springframework/social/spring-social-config/1.2.0.build-snapshot/spring-social-config-1.2.0.build-snapshot.pom] 

if type browser... resource exists @ (snapshot) url

http://repo.spring.io/snapshot/org/springframework/social/spring-social-config/1.2.0.build-snapshot/spring-social-config-1.2.0.build-snapshot.pom

any ideas how gradle go correct (snapshot) url?

the snapshot repository missing

i confused between spring-boot gradle plugin repositories , project repositories

//for plugin buildscript {   repositories {     maven { url "http://repo.spring.io/libs-milestone" }     maven { url "http://repo.spring.io/libs-snapshot" }     mavenlocal()   }     ...  //for project repositories {   mavenlocal()   //added missing snapshot repository   maven { url "http://repo.spring.io/snapshot" }   maven { url "http://repo.spring.io/milestone" }   mavencentral()   maven { url "http://repo.spring.io/libs-milestone" } } 

Comments