GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Render "@see" tags for configuration elements by kwin · Pull Request #2218 · apache/maven-resolver

Conversation

@kwin

@kwin kwin commented Oct 20, 2026

Copy link
Copy Markdown
Member

Render by default below description (similar to javadoc). The links to references are either pointing to javadoc or other configuration field.


To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
check one of the following:

  • I hereby declare this contribution to be licensed under the Apache License Version 2.0, January 2004
  • I hereby declare that I have filed an Apache Individual Contributor License Agreement.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@kwin
kwin requested review from cstamas and gnodet October 20, 2026 19:38
@kwin
kwin force-pushed the feature/doclet-see-tags branch from ed159dc to e842a0c Compare October 20, 2026 19:49
@kwin
Render "@see" tags for configuration elements
a013d83
Render by default below description (similar to javadoc).
The links to references are either pointing to javadoc or other
configuration field.
@kwin
kwin force-pushed the feature/doclet-see-tags branch from e842a0c to a013d83 Compare October 20, 2026 19:53
@cstamas
cstamas requested a balanced review from Copilot October 20, 2026 20:02
gnodet-bot
gnodet-bot reviewed Oct 20, 2026
View reviewed changes

@gnodet-bot gnodet-bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM overall — clean feature addition with good test coverage. One minor issue.

This review was generated by an AI agent, Hermès on behalf of @gnodet.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread maven-resolver-tools/src/main/java/org/eclipse/aether/tools/ConfigurationCollectorDoclet.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Copilot AI reviewed Oct 20, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

4 open issues
  • High severity renderReference(...) assumes ReferenceTree node is non-null (calls node.getSignature() and… · New
  • High severity renderReference(...) assumes ReferenceTree node is non-null (calls node.getSignature() and… · New
  • Low severity The comment says “comma-separated list”, but the field type is Collection<String> (the… · New
  • Low severity The parameter is named element, but the null-check message says "field must not be null". To… · New
What changed in this PR

Adds support for rendering Javadoc @see tags for configuration keys into the generated configuration documentation.

Changes:

  • Extract @see block tags during doclet processing and persist them as a new see property per configuration entry.
  • Render a “See also” section in the configuration markdown template when @see tags are present.
  • Extend existing doclet tests and sample configuration keys to cover @see rendering (URLs, intra-doc anchors, and text).
File Description
maven-resolver-tools/​src/​main/​java/​org/​eclipse/​aether/​tools/​ConfigurationCollectorDoclet.java Extracts @see tags and adds shared reference rendering logic for links/see tags.
maven-resolver-tools/​src/​main/​resources/​configuration.md.vm Renders a “See also” section in the generated markdown output.
maven-resolver-tools/​src/​main/​java/​org/​eclipse/​aether/​tools/​CollectConfiguration.java Adds the new see property to the collected output schema.
maven-resolver-tools/​src/​test/​resources/​org/​eclipse/​aether/​sample/​SampleConfigurationKeys.java Adds sample @see tags to exercise new behavior.
maven-resolver-tools/​src/​test/​java/​org/​eclipse/​aether/​tools/​ConfigurationCollectorDocletTest.java Adds assertions for rendered @see output.

Review effort: Lite

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread maven-resolver-tools/src/main/java/org/eclipse/aether/tools/ConfigurationCollectorDoclet.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread maven-resolver-tools/src/main/java/org/eclipse/aether/tools/ConfigurationCollectorDoclet.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread maven-resolver-tools/src/main/java/org/eclipse/aether/tools/ConfigurationCollectorDoclet.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread maven-resolver-tools/src/main/java/org/eclipse/aether/tools/ConfigurationCollectorDoclet.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@cstamas cstamas added this to the 2.0.25 milestone Oct 20, 2026
@cstamas cstamas added the documentation Improvements or additions to documentation label Oct 20, 2026
Copilot stopped reviewing on behalf of cstamas due to an error October 20, 2026 22:42
The job was not acquired by a runner even after multiple attempts.
@kwin
Cleanup getSee method signature
4f1bc50
@kwin
kwin requested a review from gnodet-bot October 21, 2026 08:49
gnodet-bot
gnodet-bot approved these changes Oct 21, 2026
View reviewed changes

@gnodet-bot gnodet-bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Following up on my earlier review — the previous finding (unused element parameter in getSee()) has been addressed: the parameter was removed in this push.

The refactoring is clean: renderReference() correctly generalises link rendering for both {@link} and @see tags, all callers of the renamed resolveReferencedField() are updated (both resolveDefaultValue and renderReference pass ReferenceTree directly), and the four @see variants (URL, reference+label, quoted text, bare reference) are all covered by tests with precise assertions. LGTM.

This review was generated by an AI agent, Hermès on behalf of @gnodet.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
cstamas
cstamas approved these changes Oct 21, 2026
View reviewed changes
@kwin
kwin merged commit 82a1a48 into master Oct 21, 2026
26 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@kwin
kwin deleted the feature/doclet-see-tags branch October 21, 2026 17:35
@github-actions github-actions Bot assigned kwin Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@cstamas cstamas cstamas approved these changes
@gnodet gnodet Awaiting requested review from gnodet
+1 more reviewer
@gnodet-bot gnodet-bot gnodet-bot approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@kwin kwin

Labels

documentation Improvements or additions to documentation

Projects

None yet

Milestone

2.0.25

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@kwin @cstamas @gnodet-bot
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.