Skip to content

BUILD-6160 emptyJavadoc - #1093

Merged
kirill-knize-sonarsource merged 2 commits into
masterfrom
fix/jcarsique/BUILD-6160-emptyJavadoc
Sep 3, 2024
Merged

BUILD-6160 emptyJavadoc#1093
kirill-knize-sonarsource merged 2 commits into
masterfrom
fix/jcarsique/BUILD-6160-emptyJavadoc

Conversation

@julien-carsique-sonarsource

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

Copy link
Copy Markdown
Contributor

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
@sonarqube-next

sonarqube-next Bot commented Sep 3, 2024

Copy link
Copy Markdown

@kirill-knize-sonarsource
kirill-knize-sonarsource merged commit 27d459b into master Sep 3, 2024
@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