From 482d649d5d705c18028076985f64b214f6b6c14e Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Thu, 19 Jan 2023 15:24:23 -0500 Subject: [PATCH] fix(java): skip fixing poms for special modules (#1744) fix(java): handle empty modules Fixes https://github.com/googleapis/synthtool/issues/1743 --- docker/owlbot/java/src/fix-poms.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docker/owlbot/java/src/fix-poms.py b/docker/owlbot/java/src/fix-poms.py index b14877ef9..43f6e206c 100644 --- a/docker/owlbot/java/src/fix-poms.py +++ b/docker/owlbot/java/src/fix-poms.py @@ -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: