Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: treat java-iam as special structure module #1777

Merged
merged 1 commit into from
Mar 16, 2023
Merged

chore: treat java-iam as special structure module #1777

merged 1 commit into from
Mar 16, 2023

Conversation

suztomo
Copy link
Member

@suztomo suztomo commented Mar 16, 2023

To treat java-iam as a special-structure module that we don't require fixing their pom files. This will address googleapis/google-cloud-java#9227 (comment)

google-cloud-java repository's java-iam module only has google-iam-policy module, without "proto-" and "grpc-" modules, which are in https://github.com/googleapis/gapic-generator-java/tree/main/java-iam.

@suztomo suztomo requested a review from a team as a code owner March 16, 2023 15:35
@@ -331,7 +331,7 @@ def main():
main_module = existing_modules[artifact_id]

if artifact_id in ["grafeas", "google-cloud-dns",
"google-cloud-notification"]:
"google-cloud-notification", "java-iam"]:
Copy link
Member Author

Choose a reason for hiding this comment

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

The stacktrace of the error happens in line 479. Existing here will stop hitting the problem.

  File "/owlbot/src/fix-poms.py", line 479, in main
    update_parent_pom("pom.xml", modules)

@suztomo suztomo enabled auto-merge (squash) March 16, 2023 15:38
@JoeWang1127
Copy link
Contributor

LGTM with a question: since java-iam module is a special module, why we have this issue now?

@suztomo suztomo merged commit 4a1a55c into master Mar 16, 2023
@suztomo suztomo deleted the fix_iam branch March 16, 2023 15:45
@suztomo
Copy link
Member Author

suztomo commented Mar 16, 2023

Java-iam was recently moved to google-cloud-java.

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.

3 participants