You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#36 removed -Xdoclint:none from the POM, so Javadoc lint is enforced again. But #20 had unbound the javadoc plugin from package to keep builds fast, and both workflows run mvn --batch-mode --update-snapshots verify, which therefore never invokes javadoc.
The result is that doclint only runs when someone remembers to type mvn javadoc:javadoc. A Javadoc regression reaches master unnoticed, which makes #36's last step decorative.
Verified at the 0.7 release: breaking a @param deliberately fails mvn javadoc:javadoc locally, and CI stays green.
Options, roughly in order of preference:
Add javadoc:javadoc to the workflow's Maven invocation. One line, keeps the plugin unbound for ordinary local builds, and costs a few seconds per CI run.
#36 removed
-Xdoclint:nonefrom the POM, so Javadoc lint is enforced again. But #20 had unbound the javadoc plugin frompackageto keep builds fast, and both workflows runmvn --batch-mode --update-snapshots verify, which therefore never invokes javadoc.The result is that doclint only runs when someone remembers to type
mvn javadoc:javadoc. A Javadoc regression reachesmasterunnoticed, which makes #36's last step decorative.Verified at the 0.7 release: breaking a
@paramdeliberately failsmvn javadoc:javadoclocally, and CI stays green.Options, roughly in order of preference:
javadoc:javadocto the workflow's Maven invocation. One line, keeps the plugin unbound for ordinary local builds, and costs a few seconds per CI run.verifyin the POM. Catches it for everyone, but puts the cost back on every local build, which is what POM hygiene: release flag, plugin pins, metadata, unused dependency #20 removed.Noticed while releasing 0.7, and deliberately not fixed then, to keep a CI change out of a release commit.