Draft
Conversation
zhumin8
added a commit
to googleapis/librarian
that referenced
this pull request
Apr 7, 2026
… client pom.xml files (#5049) Supports adding templated markers for client pom.xml as part of migrate command for Java. For more context on why we are adding this see #4921. Currently, when running on `google-cloud-java`, it correctly inserts marker except for a few special cases, captured with debug logging for now. These needs special treatment, and will fix separately. In addition to these, a few hybrid libraries java-datastore, java-spanner, java-storage is also off, they are also special cases that will be fixed separately. ``` ╰─$ migrate . 2026/04/07 15:31:27 Warning: multiple proto_library_with_info in google/devtools/containeranalysis/v1/BUILD.bazel, using first 2026/04/07 15:31:27 Debug: skipping library google-cloud-java (SkipGenerate is true) 2026/04/07 15:31:27 Debug: no changes needed for library errorreporting (markers may already exist or dependencies not found) 2026/04/07 15:31:27 Debug: skipping library grafeas (pom.xml not found at /usr/local/google/home/zhumin/repos/testjava2/google-cloud-java/java-grafeas/grafeas/pom.xml) 2026/04/07 15:31:27 Debug: no changes needed for library iam (markers may already exist or dependencies not found) 2026/04/07 15:31:27 Inserted markers in 232 Java client pom.xml files 2026/04/07 15:31:27 Successfully migrated 236 Java libraries ``` Preview full change in [draft pr](zhumin8/google-cloud-java#3). Fix #4991
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.