Skip to content

Conversation

@adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

Javadoc is generated only with the dist profile. This is used in CI build, but Javadoc is explicitly skipped. Thus, javadoc generation is currently exercised only when making release candidates.

This change enables Javadoc generation in the compile check. Build is successful despite Javadoc problems, e.g.:

Warning:  .../GenericTestUtils.java:339: warning - invalid usage of tag >

We can enable failOnWarning after fixing these warnings. The current change would help catch problems with usage of maven-javadoc-plugin itself (e.g. wrong version or config).

https://issues.apache.org/jira/browse/HDDS-11112

How was this patch tested?

Verified maven-javadoc-plugin is executed in compile check:
https://github.com/adoroszlai/ozone/actions/runs/9828984546/job/27133798734#step:8:3488

@adoroszlai adoroszlai added the CI label Jul 8, 2024
@adoroszlai adoroszlai self-assigned this Jul 8, 2024
@adoroszlai adoroszlai requested review from sadanand48 and smengcl July 9, 2024 19:08
Copy link
Contributor

@sadanand48 sadanand48 left a comment

Choose a reason for hiding this comment

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

Thanks @adoroszlai for the patch, LGTM.

@adoroszlai adoroszlai merged commit 33924d9 into apache:master Jul 10, 2024
@adoroszlai adoroszlai deleted the HDDS-11112 branch July 10, 2024 08:46
@adoroszlai
Copy link
Contributor Author

Thanks @sadanand48 for the review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants