GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — How does google-cloud-resourcemanager have a grpc-s2a dependency? · Issue #11324 · googleapis/google-cloud-java

How does google-cloud-resourcemanager have a grpc-s2a dependency? #11324

New issue
Copy link
New issue
Copy link
Closed
Closed
How does google-cloud-resourcemanager have a grpc-s2a dependency?#11324
Copy link

Description

@ejona86
ejona86
opened on Nov 21, 2024
Issue body actions

In grpc/grpc-java#11703 we noticed google-cloud-resourcemanager 1.56.0 has a dependency on the new grpc artifact grpc-s2a.

I was surprised to see such a dependency, so I was looking at the source in this repo, and I don't understand how/why that dependency exists. The POM in this repository is substantially different than the POM on Maven Central, and it doesn't have an s2a dependency.

Everything could be fine, but it seems weird things are going on.

Activity

  1. suztomo commented on Nov 22, 2024

    @suztomo
    suztomo
    on Nov 22, 2024
    Member
    More actions

    About the mystery of pom.xml file, we use flatten-maven-plugin https://www.mojohaus.org/flatten-maven-plugin/flatten-mojo.html. It moves the transitive dependencies to direct dependencies when we release Maven artifacts.

  2. ejona86 commented on Nov 22, 2024

    @ejona86
    ejona86
    on Nov 22, 2024
    ContributorAuthor
    More actions

    With that in mind, mvn dependency:tree shows:

    ...
    [INFO] +- com.google.api:gax-grpc:jar:2.58.0:compile
    [INFO] |  +- io.grpc:grpc-inprocess:jar:1.68.1:compile
    [INFO] |  |  \- io.grpc:grpc-core:jar:1.68.1:compile
    [INFO] |  |     +- com.google.android:annotations:jar:4.1.1.4:runtime
    [INFO] |  |     \- org.codehaus.mojo:animal-sniffer-annotations:jar:1.24:runtime
    [INFO] |  +- io.grpc:grpc-alts:jar:1.68.1:compile
    [INFO] |  |  +- io.grpc:grpc-grpclb:jar:1.68.1:compile
    [INFO] |  |  \- org.conscrypt:conscrypt-openjdk-uber:jar:2.5.2:compile
    [INFO] |  +- io.grpc:grpc-auth:jar:1.68.1:compile
    [INFO] |  +- io.grpc:grpc-s2a:jar:1.68.1:compile
    ...
    

    And that led me to googleapis/sdk-platform-java#3326. Thank you.

  3. ejona86
    closed this as completedon Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.