Skip to content

Commit

Permalink
fix(java): skip fixing poms for special modules (#1744)
Browse files Browse the repository at this point in the history
fix(java): handle empty modules

Fixes #1743
  • Loading branch information
suztomo authored Jan 19, 2023
1 parent 239f962 commit 482d649
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker/owlbot/java/src/fix-poms.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,13 @@ def main():
)
main_module = existing_modules[artifact_id]

if artifact_id in ["grafeas", "google-cloud-dns",
"google-cloud-notification"]:
# There are special libraries that are not automatically generated
print(f"Skipping a special case library {artifact_id} that do not have "
" the standard module structure.")
return

parent_artifact_id = f"{artifact_id}-parent"

if parent_artifact_id not in existing_modules:
Expand Down

0 comments on commit 482d649

Please sign in to comment.