Publish a javadoc jar with content again

Merged
SE
7d ago
+4-1

The javadoc jar on Maven Central has been empty since 0.2.10 (553 bytes, no HTML). With <source>17</source> the javadoc plugin goes into module mode and finds no sources, and jackson-base turns failOnError off, so the build stays green. This uses ${java.version} again and fails the build when javadoc fails. The inherited Java 8 API link goes too: JDK 25 rejects its redirect.


Summary by cubic

Fixes the javadoc jar shipping empty (no HTML) since 0.2.10. <source>17</source> made the javadoc plugin treat sources as modular and find none, while jackson-base disabled failOnError and kept the build green. Javadoc now uses ${java.version}, fails the build on errors, and drops the inherited Java 8 API link, which JDK 25 rejects for its redirect.