diff --git a/docker/owlbot/java/src/fix-poms.py b/docker/owlbot/java/src/fix-poms.py index b14877ef9..edbf05792 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: @@ -468,7 +475,7 @@ def main(): ) if os.path.isfile("pom.xml"): - print("updating modules in parent pom.xml") + print(f"updating modules in parent pom.xml: {}", modules) update_parent_pom("pom.xml", modules) else: print("creating missing parent pom.xml")