Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUILD-6160 emptyJavadoc #1093

Merged

Conversation

julien-carsique-sonarsource
Copy link
Contributor

@julien-carsique-sonarsource julien-carsique-sonarsource commented Sep 3, 2024

BUILD-6160

Proper fix to the broken promotion.

The breakage was due to duplicated Javadoc artifacts generated and attached to the build.
As of maven-javadoc-plugin 3.10.0, the empty Javadoc is generated by default.

As suggested in apache/maven-javadoc-plugin#65 by the following sentence:

Add generateIfEmpty property to javadoc:jar goal, defaulting to false for backwards compatibility.

maven-javadoc-plugin 3.10.0 defaults to true, with no customization property.

This fix was confirmed by https://cirrus-ci.com/build/5445574646824960

As of maven-javadoc-plugin 3.10.0, the empty Javadoc is generated by default
Copy link

sonarqube-next bot commented Sep 3, 2024

@kirill-knize-sonarsource kirill-knize-sonarsource merged commit 27d459b into master Sep 3, 2024
14 checks passed
@kirill-knize-sonarsource kirill-knize-sonarsource deleted the fix/jcarsique/BUILD-6160-emptyJavadoc branch September 3, 2024 10:29
kirill-knize-sonarsource added a commit that referenced this pull request Oct 21, 2024
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.

2 participants