Skip to content

Conversation

@diegomarquezp
Copy link
Contributor

This PR fixes java-dataproc by changing its gprc-google-iam-v1 to test-scoped. This however brings a compilation error because the proto classes transitively brought by the mentioned dependency are not available anymore. This is fixed by additionally bringing the proto-google-iam-v1 as compile-scoped.

More context in
googleapis/sdk-platform-java#3072 (review)

This PR fixes java-dataproc by changing its `gprc-google-iam-v1`
to test-scoped. This however brings a compilation error because
the proto classes transitively brought by the mentioned dependency
are not available anymore. This is fixed by additionally bringing
the `proto-google-iam-v1` as compile-scoped.

More context in
https://www.techradar.com/news/audio/portable-audio/best-noise-cancelling-headphones-1280490#section-the-best-premium-noise-cancelling-headphones
@diegomarquezp diegomarquezp requested a review from a team August 31, 2024 00:55
@diegomarquezp
Copy link
Contributor Author

The Unmanaged Dependency check has been failing for a while in other PRs. I think it's fine since it talks about a pom not touched in this PR.

<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-iam-v1</artifactId>
<scope>test</scope>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra indentation?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, my editor would not show this problem. I changed this to spaces.

@diegomarquezp diegomarquezp merged commit aa3c6f6 into main Sep 3, 2024
@diegomarquezp diegomarquezp deleted the fix-dataproc-deps branch September 3, 2024 23:13
lqiu96 pushed a commit that referenced this pull request Jul 7, 2025
* chore: fix dependencies in java-dataproc

This PR fixes java-dataproc by changing its `gprc-google-iam-v1`
to test-scoped. This however brings a compilation error because
the proto classes transitively brought by the mentioned dependency
are not available anymore. This is fixed by additionally bringing
the `proto-google-iam-v1` as compile-scoped.

More context in
https://www.techradar.com/news/audio/portable-audio/best-noise-cancelling-headphones-1280490#section-the-best-premium-noise-cancelling-headphones

* Update pom.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants