spring-attic / spring-social-samples

Samples of using Spring Social

Home Page:http://projects.spring.io/spring-social

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project `spring-social-showcase-boot` build failed

volyx opened this issue · comments

Run gradle build command in spring-social-showcase-boot

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':compile'.
> Could not find org.springframework.social:spring-social-config:1.2.0.RELEASE.
  Required by:
      :spring-social-showcase-boot:unspecified
> Could not find org.springframework.social:spring-social-config:1.2.0.RELEASE.
  Required by:
      :spring-social-showcase-boot:unspecified > org.springframework.boot:spring-boot-starter-social-facebook:1.3.0.M1
      :spring-social-showcase-boot:unspecified > org.springframework.boot:spring-boot-starter-social-twitter:1.3.0.M1
      :spring-social-showcase-boot:unspecified > org.springframework.boot:spring-boot-starter-social-linkedin:1.3.0.M1
> Could not find org.springframework.social:spring-social-config:1.2.0.RELEASE.
  Required by:
      :spring-social-showcase-boot:unspecified > org.springframework.social:spring-social-facebook:2.0.1.RELEASE
      :spring-social-showcase-boot:unspecified > org.springframework.boot:spring-boot-starter-social-twitter:1.3.0.M1 > org.springframework.social:spring-social-twitter:1.1.0.RELEASE
      :spring-social-showcase-boot:unspecified > org.springframework.boot:spring-boot-starter-social-linkedin:1.3.0.M1 > org.springframework.social:spring-social-linkedin:1.0.1.RELEASE

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
commented

+1

Solved copying gradle.properties from spring-social-showcase and changing lines from 39 to 41 in build.gradle to:
// Override Spring Boot's choice of Spring Social Facebook version compile("org.springframework.social:spring-social-facebook:$springSocialFacebookVersion") compile("org.springframework.social:spring-social-facebook-web:$springSocialFacebookVersion") compile("org.springframework.social:spring-social-config:$springSocialVersion")

still failing :(