Skip to content

test diffs#13355

Closed
sofisl wants to merge 2 commits into
mainfrom
testDevelopersKnowledge
Closed

test diffs#13355
sofisl wants to merge 2 commits into
mainfrom
testDevelopersKnowledge

Conversation

@sofisl
Copy link
Copy Markdown
Contributor

@sofisl sofisl commented Jun 3, 2026

No description provided.

Copy link
Copy Markdown
Contributor

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

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 renames the Java client library and its associated artifacts from google-cloud-developer-knowledge to google-developers-knowledge, updating metadata, documentation, and generating the client code under the new package com.google.developers.knowledge.v1. The review feedback highlights two issues: a potential Maven build failure due to a missing parent POM update for the renamed parent artifact ID, and a mismatch between the VERSION constant in Version.java and the POM files which would affect telemetry reporting.

Comment on lines +10 to +14
<parent>
<groupId>com.google.cloud</groupId>
<artifactId>google-developers-knowledge-parent</artifactId>
<version>0.1.0-SNAPSHOT</version><!-- {x-version-update:google-developers-knowledge:current} -->
</parent>
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.

high

The parent POM artifact ID is specified as google-developers-knowledge-parent. However, the parent POM file at java-developerknowledge/pom.xml is not included in this pull request. If java-developerknowledge/pom.xml has not been updated to use this new artifact ID (renamed from google-cloud-developer-knowledge-parent) and to include the renamed modules, the Maven build will fail due to an unresolved parent dependency.

@InternalApi("For internal use only")
final class Version {
// {x-version-update-start:google-developers-knowledge:current}
static final String VERSION = "0.0.0-SNAPSHOT";
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.

medium

The VERSION constant is set to '0.0.0-SNAPSHOT', but the library version in the POM files is '0.1.0-SNAPSHOT'. This mismatch will cause the library to report an incorrect version in the user-agent telemetry header. Update this constant to match the current POM version.

Suggested change
static final String VERSION = "0.0.0-SNAPSHOT";
static final String VERSION = "0.1.0-SNAPSHOT";

@sofisl sofisl closed this Jun 3, 2026
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.

1 participant