Giter Club home page Giter Club logo

Comments (15)

marcingrzejszczak avatar marcingrzejszczak commented on September 24, 2024

yup, we've been changing the build structure in Sleuth. We must have done sth wrong ;) Thx for pointing this out!

from brewery.

marcingrzejszczak avatar marcingrzejszczak commented on September 24, 2024

Is this issue still there? I've managed to build it successfully?

from brewery.

jerome-cirrios avatar jerome-cirrios commented on September 24, 2024

I have another issue now !

version for dependency 'org.assertj:assertj-core:jar'

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':common:compile'.
> Could not resolve org.springframework.cloud:spring-cloud-starter-hystrix:1.1.0.BUILD-SNAPSHOT.
  Required by:
      io.spring.cloud.samples.brewery:common:CD-000
   > Could not resolve org.springframework.cloud:spring-cloud-starter-hystrix:1.1.0.BUILD-SNAPSHOT.
      > Could not parse POM http://repo.spring.io/snapshot/org/springframework/cloud/spring-cloud-starter-hystrix/1.1.0.BUILD-SNAPSHOT/spring-cloud-starter-hystrix-1.1.0.BUILD-20160112.230312-221.pom
         > Unable to resolve version for dependency 'org.springframework.cloud:spring-cloud-starter-archaius:jar'
> Could not find org.springframework.cloud:spring-cloud-sleuth-stream:.
  Required by:
      io.spring.cloud.samples.brewery:common:CD-000
> Could not resolve org.springframework.cloud:spring-cloud-sleuth-core:1.0.0.BUILD-SNAPSHOT.
  Required by:
      io.spring.cloud.samples.brewery:common:CD-000 > org.springframework.cloud:spring-cloud-starter-sleuth:1.0.0.BUILD-SNAPSHOT
   > Could not resolve org.springframework.cloud:spring-cloud-sleuth-core:1.0.0.BUILD-SNAPSHOT.
      > Could not parse POM http://repo.spring.io/snapshot/org/springframework/cloud/spring-cloud-sleuth-core/1.0.0.BUILD-SNAPSHOT/spring-cloud-sleuth-core-1.0.0.BUILD-20160113.111416-247.pom
         > Unable to resolve version for dependency 'org.assertj:assertj-core:jar'

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

BUILD FAILED

from brewery.

marcingrzejszczak avatar marcingrzejszczak commented on September 24, 2024

Can you run the build in debug mode?

./gradlew clean build --debug

Then can you go to Gitter - https://gitter.im/marcingrzejszczak and send me a file with that log?

from brewery.

marcingrzejszczak avatar marcingrzejszczak commented on September 24, 2024

We've fixed the issue by doing some local installations of projects. Most likely we have published a couple of broken poms to artifactory.

from brewery.

rm2013 avatar rm2013 commented on September 24, 2024

I am still seeing this issue, please point me to the work arounds. Thx

from brewery.

marcingrzejszczak avatar marcingrzejszczak commented on September 24, 2024

Hi! I confirm that I see it too. We're working on fixing those. I mean not exactly the ones above but similar ones.

from brewery.

marcingrzejszczak avatar marcingrzejszczak commented on September 24, 2024

the issues are fixed - please try again now

from brewery.

rm2013 avatar rm2013 commented on September 24, 2024

Still the same
Could not resolve org.springframework.cloud:spring-cloud-sleuth-core:1.0.0.BUILD-SNAPSHOT

from brewery.

marcingrzejszczak avatar marcingrzejszczak commented on September 24, 2024

can you paste the whole log please?

from brewery.

rm2013 avatar rm2013 commented on September 24, 2024

14:39:02.224 [ERROR] [org.gradle.BuildExceptionReporter]
14:39:02.225 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
14:39:02.225 [ERROR] [org.gradle.BuildExceptionReporter]
14:39:02.225 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
14:39:02.225 [ERROR] [org.gradle.BuildExceptionReporter] Could not resolve all dependencies for configuration ':acceptance-tests:testCompile'.
14:39:02.226 [ERROR] [org.gradle.BuildExceptionReporter] > Could not resolve org.springframework.cloud:spring-cloud-sleuth-core:1.0.0.BUILD-SNAPSHOT.
14:39:02.226 [ERROR] [org.gradle.BuildExceptionReporter] Required by:
14:39:02.226 [ERROR] [org.gradle.BuildExceptionReporter] io.spring.cloud.samples.brewery:acceptance-tests:1.0.0 > org.springframework.cloud:spring-cloud-starter-sleuth:1.0.0.BUILD-SNAPSHOT
14:39:02.226 [ERROR] [org.gradle.BuildExceptionReporter] > Could not resolve org.springframework.cloud:spring-cloud-sleuth-core:1.0.0.BUILD-SNAPSHOT.
14:39:02.227 [ERROR] [org.gradle.BuildExceptionReporter] > Could not parse POM file:/home/centos/.m2/repository/org/springframework/cloud/spring-cloud-sleuth-core/1.0.0.BUILD-SNAPSHOT/spring-cloud-sleuth-core-1.0.0.BUILD-SNAPSHOT.pom
14:39:02.241 [ERROR] [org.gradle.BuildExceptionReporter] > Unable to resolve version for dependency 'org.assertj:assertj-core:jar'
14:39:02.241 [ERROR] [org.gradle.BuildExceptionReporter] > Could not resolve org.springframework.cloud:spring-cloud-sleuth-core:1.0.0.BUILD-SNAPSHOT.
14:39:02.241 [ERROR] [org.gradle.BuildExceptionReporter] > Could not parse POM http://repo.spring.io/snapshot/org/springframework/cloud/spring-cloud-sleuth-core/1.0.0.BUILD-SNAPSHOT/spring-cloud-sleuth-core-1.0.0.BUILD-20160128.190707-311.pom
14:39:02.241 [ERROR] [org.gradle.BuildExceptionReporter] > Unable to resolve version for dependency 'org.assertj:assertj-core:jar'
14:39:02.242 [ERROR] [org.gradle.BuildExceptionReporter]
14:39:02.242 [ERROR] [org.gradle.BuildExceptionReporter] * Try:
14:39:02.242 [ERROR] [org.gradle.BuildExceptionReporter] Run with --stacktrace option to get the stack trace.
14:39:02.243 [LIFECYCLE] [org.gradle.BuildResultLogger]
14:39:02.243 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED

from brewery.

marcingrzejszczak avatar marcingrzejszczak commented on September 24, 2024

try removing the ~/.gradle folder and try again.

from brewery.

rm2013 avatar rm2013 commented on September 24, 2024

FAILURE: Build failed with an exception.

BUILD FAILED

from brewery.

marcingrzejszczak avatar marcingrzejszczak commented on September 24, 2024

hmm that's strange. And try to move your ~/.m2 to ~/.m2back and try again ?

from brewery.

rm2013 avatar rm2013 commented on September 24, 2024

BUILD SUCCESSFUL

Thanks

from brewery.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.