Giter Site home page Giter Site logo

Comments (7)

Bing-ok avatar Bing-ok commented on July 16, 2024 1

@saturnism Thanks for your support! I have seen the changes. By the way, if you didn't remove the dependency on spring cloud gcp, which one of the solutions I proposed above would you choose?

from grpc-by-example-java.

Bing-ok avatar Bing-ok commented on July 16, 2024

Could you help me review this issue? 👍 Thanks! @saturnism

from grpc-by-example-java.

saturnism avatar saturnism commented on July 16, 2024

hi @Bing-ok ! apologies for the late reply. is this in your project, or my sample here? could i trouble you to provide some instructions to reproduce this? thanks!

from grpc-by-example-java.

Bing-ok avatar Bing-ok commented on July 16, 2024

Hi @saturnism ! I found this issue in your example by analyzing depedencies and code. I had given details of invocation paths.

from grpc-by-example-java.

saturnism avatar saturnism commented on July 16, 2024

@Bing-ok i see the issue! Thanks for the dep tree. I think we can remove the dependency on spring cloud gcp since we aren't using this at all.

from grpc-by-example-java.

saturnism avatar saturnism commented on July 16, 2024

i pushed the changes, pls take a look! thanks!

from grpc-by-example-java.

saturnism avatar saturnism commented on July 16, 2024

@Bing-ok if the highest version works, I would:

  1. Use Maven enforcer's requireUpperBound rule to make sure it's using the higher of the version
  2. Import Protobuf BOM in the dependencyManagement section to specify the Protobuf version, but also ensure all protobuf modules are aligned to the same version

So it's close to your first suggestion, but rather than dependency manage a single protobuf artifact, import the BOM to make sure all protobuf modules are also updated to the version you want to use.

I have a summary of some of the strategies here: https://saturnism.me/talk/surviving-dependency-hell-maven/ . Specifically the reason I'd import the BOM is to avoid version misalignment issues.

from grpc-by-example-java.

Related Issues (18)

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.