build: fail build explicitly on Javadoc errors#24378
Open
Artur- wants to merge 4 commits into
Open
Conversation
Make failOnError explicit on maven-javadoc-plugin so Javadoc errors visibly break the build instead of being buried in log output.
Test Results1 209 files - 209 1 209 suites - 209 1h 18m 35s ⏱️ - 2m 41s Results for commit f34f9c3. ± Comparison against base commit eef1d26. ♻️ This comment has been updated with latest results. |
caalador
reviewed
May 20, 2026
| <version>3.12.0</version> | ||
| <configuration> | ||
| <quiet>true</quiet> | ||
| <failOnError>true</failOnError> |
Contributor
There was a problem hiding this comment.
Does this change anything as the Default value for failOnError is true and it does fail the build.
Maven prefixes every Javadoc tool stderr line with [ERROR], so the single real "error:" line gets lost among 100+ identically-prefixed warning lines. Grep the actual error lines out of the per-shard Maven log and write them to GITHUB_STEP_SUMMARY so they show up at the top of the failing unit-tests job. Also drops the redundant <failOnError>true</failOnError> override — that's already the maven-javadoc-plugin default.
DO NOT MERGE. Temporary broken {@link} to a non-existent class so the
unit-tests job fails with a real Javadoc error, letting us confirm the
"Surface Javadoc errors" step actually surfaces it in the PR summary.
Revert before merge.
Contributor
|
Contributor
caalador
requested changes
May 22, 2026
Comment on lines
+49
to
+50
| * | ||
| * See {@link com.vaadin.flow.does.not.Exist} for related information. |
Contributor
There was a problem hiding this comment.
Suggested change
| * | |
| * See {@link com.vaadin.flow.does.not.Exist} for related information. |
Remove broken javadoc
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.





Make failOnError explicit on maven-javadoc-plugin so Javadoc errors visibly break the build instead of being buried in log output.