Skip to content

Revert "feat(internal/librarian/java): source google-cloud-pom-parent in pom.xml templates" - #6449

Merged
zhumin8 merged 1 commit into
mainfrom
revert-6432-fix-java-parent-pom
Jun 16, 2026
Merged

zhumin8 merged 1 commit into
mainfrom
revert-6432-fix-java-parent-pom

Conversation

@zhumin8

@zhumin8 zhumin8 commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Reverts #6432 to investigate on #6446.

Fixes #6446

@zhumin8
zhumin8 marked this pull request as ready for review June 16, 2026 18:21
@zhumin8
zhumin8 requested a review from a team as a code owner June 16, 2026 18:21

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request simplifies the Java librarian generation process by removing the parentPOM constant, the findParentPOMVersion function, and all references to parentVersion across the codebase. The templates and POM generation logic now rely directly on the monorepo version (google-cloud-java). All associated tests have been updated to align with these changes. I have no feedback to provide on this pull request.

@zhumin8
zhumin8 enabled auto-merge (squash) June 16, 2026 18:25
@zhumin8
zhumin8 merged commit 12fd364 into main Jun 16, 2026
52 of 53 checks passed
@zhumin8
zhumin8 deleted the revert-6432-fix-java-parent-pom branch June 16, 2026 18:27
haphungw pushed a commit to haphungw/librarian that referenced this pull request Jun 26, 2026
zhumin8 added a commit that referenced this pull request Jul 1, 2026
…xml templates (#6607)

Update logic to parse google-cloud-pom-parent version separately from
librarian.yaml, and update pom.xml templates to use dedicated marker
comment for "google-cloud-pom-parent" to match versions.txt
(googleapis/google-cloud-java#13483).

The previous attempt was reverted because required changes in
google-cloud-java
[librarian.yaml](https://github.com/googleapis/google-cloud-java/blob/485ae6fd8385bf03a5384ddf6d7aa856c8dad54b/librarian.yaml#L1848-L1850)
was not merged in.
Locally tested with google-cloud-java with `librarian generate storage`.

Reverts #6449
For #6411
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.

google-cloud-java: librarian generate fails when run at HEAD

2 participants