Skip to content

fix(intent): escape '<-' in ExpansionIntent javadoc - malformed HTML fails the release javadoc build#6261

Merged
delchev merged 2 commits into
masterfrom
fix/expansion-javadoc-malformed-html
Jul 11, 2026
Merged

fix(intent): escape '<-' in ExpansionIntent javadoc - malformed HTML fails the release javadoc build#6261
delchev merged 2 commits into
masterfrom
fix/expansion-javadoc-malformed-html

Conversation

@delchev

@delchev delchev commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

What

The class-level <pre> example in ExpansionIntent.java used bare <- arrows in two comment lines; javadoc's doclint parses <- as a malformed HTML tag start. Escaped as &lt;-.

Why

The master Release run failed at maven-javadoc-plugin:jar (attach-javadocs) on dirigible-components-engine-intent:
https://github.com/eclipse-dirigible/dirigible/actions/runs/29115413235/job/86437470200

attach-javadocs runs only in the release profile, so PR CI stayed green while the release broke. engine-intent was the last module in the reactor - nothing was skipped after it, so this one-file fix unblocks the release.

Verified

mvn javadoc:jar -Dmaven.javadoc.skip=false on the module now produces the javadoc jar with no errors (only pre-existing non-fatal no @param record warnings, same as before).

A repo-wide sweep found no other unescaped <- in javadoc comment lines.

🤖 Generated with Claude Code

delchev and others added 2 commits July 11, 2026 10:31
…fails the release javadoc build

The class-level <pre> example in ExpansionIntent.java used bare '<-'
arrows, which javadoc's doclint parses as a malformed HTML tag start.
The attach-javadocs goal runs only in the release profile, so PR CI
stayed green while the master release failed at
maven-javadoc-plugin:jar on dirigible-components-engine-intent.

Escaped as '&lt;-'. Verified: javadoc:jar on the module now builds the
javadoc jar with no errors (only pre-existing non-fatal @param
warnings).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…horing rules

The CLAUDE.md javadoc section already mandates the release-profile
javadoc check before pushing javadoc changes, but its failure-mode
list was missing the one that broke the 2026-07-10 release: a bare
'<' (e.g. an ASCII '<-' arrow) in javadoc prose or <pre> blocks is
parsed by doclint as a malformed HTML tag start.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@delchev delchev merged commit 72dd6bb into master Jul 11, 2026
10 checks passed
@delchev delchev deleted the fix/expansion-javadoc-malformed-html branch July 11, 2026 08:17
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