Skip to content

Commit b6d096b

Browse files
committed
try fix poms script
1 parent 16fc5df commit b6d096b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • sdk-platform-java/hermetic_build/library_generation/owlbot/src

sdk-platform-java/hermetic_build/library_generation/owlbot/src/fix_poms.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,9 @@ def main(versions_file, monorepo):
449449
version=main_module.version,
450450
release_version=main_module.release_version,
451451
)
452+
if path not in required_dependencies:
453+
required_dependencies[path] = existing_modules[path]
454+
452455
if not os.path.isfile(f"{path}/pom.xml"):
453456
print(f"creating missing proto pom: {path}")
454457
templates.render(
@@ -489,6 +492,9 @@ def main(versions_file, monorepo):
489492
release_version=main_module.release_version,
490493
)
491494

495+
if path not in required_dependencies:
496+
required_dependencies[path] = existing_modules[path]
497+
492498
if not os.path.isfile(f"{path}/pom.xml"):
493499
proto_artifact_id = path.replace("grpc-", "proto-")
494500
print(f"creating missing grpc pom: {path}")

0 commit comments

Comments
 (0)