Skip to content

Address Copilot review follow-ups from #26 - #27

Merged
robin-maxxton merged 1 commit into
masterfrom
fix/doclet-repo-order-and-readme-jdk
Aug 28, 2026
Merged

Address Copilot review follow-ups from #26#27
robin-maxxton merged 1 commit into
masterfrom
fix/doclet-repo-order-and-readme-jdk

Conversation

@robin-maxxton

Copy link
Copy Markdown
Contributor

Follow-up on the Copilot review comments left on #26.

mavenLocal() ordering in the doclet (comment) — valid. With mavenLocal() ahead of Artifact Registry, a stale ~/.m2 copy of microdocs-core-java wins over what is actually published, so a local build can disagree with publish.sh/CI. publish.sh publishes core to the registry before the doclet builds, so mavenLocal() isn't needed here at all — removed rather than reordered.

README says Java 21 (comment) — the .java-version is correct; the README was stale. The repo moved to JDK 25 in MXTS-77488. Docs updated, toolchain untouched.

Also documented that released versions are immutable in Artifact Registry, since republishing an existing version fails with an unhelpful bare 400 Bad Request.

Not addressed: the missing pluginManagement block in microdocs-crawler-doclet/settings.gradle (comment). The doclet uses only built-in Gradle plugins via apply plugin: and doesn't use the plugins {} DSL or com.maxxton.convention, so the block would resolve nothing today. It becomes relevant if the doclet is aligned with the other two modules — worth a separate change.

🤖 Generated with Claude Code

https://claude.ai/code/session_018pqXcKnVEhEThnbSD9KgV4

… document JDK 25

The doclet resolved microdocs-core-java from mavenLocal() before Artifact
Registry, so a stale ~/.m2 copy could mask what is actually published and
make local builds disagree with publish.sh/CI. publish.sh publishes core to
the registry before the doclet builds, so mavenLocal() is not needed here.

README still claimed master is based on Java 21; it has been on JDK 25 since
MXTS-77488.
Copilot AI lite review requested due to automatic review settings August 28, 2026 07:46

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Follow-up to PR #26 by aligning documentation and build behavior with the intended publish flow: avoid inadvertently using stale locally-cached artifacts, and update repository documentation to reflect the current JDK baseline and Artifact Registry constraints.

Changes:

  • Removed mavenLocal() from the doclet module’s repository list to prevent local ~/.m2 artifacts from overriding published ones.
  • Updated the root README to reflect Java 25 (instead of Java 21) and documented Artifact Registry’s “no republish of existing versions” behavior.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
README.md Updates publishing notes (immutable versions) and corrects the documented Java baseline to 25.
microdocs-crawler-doclet/build.gradle Removes mavenLocal() to ensure dependency resolution matches what CI/publish uses.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@robin-maxxton
robin-maxxton merged commit aa4f6db into master Aug 28, 2026
2 checks passed
@robin-maxxton
robin-maxxton deleted the fix/doclet-repo-order-and-readme-jdk branch August 28, 2026 08:13
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.

3 participants