Skip to content

Commit 9f77789

Browse files
authored
Publish a javadoc jar with content again (#205)
The javadoc jar has been empty since 0.2.10: with source 17 the javadoc plugin treats the project as modular (module-info.java in java9 and java17) and finds no sources. Use ${java.version} like the compiler does, and fail the build when javadoc fails; jackson-base turns that off. The inherited Java 8 API link goes: javadoc on JDK 25 rejects its redirect.
1 parent 3b64736 commit 9f77789

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎pom.xml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,10 +270,13 @@
270270
</execution>
271271
</executions>
272272
<configuration>
273-
<source>17</source>
273+
<source>${java.version}</source>
274274
<doclint>none</doclint>
275275
<detectJavaApiLink>false</detectJavaApiLink>
276276
<failOnWarnings>false</failOnWarnings>
277+
<failOnError>true</failOnError>
278+
<!-- the inherited Java 8 API link redirects, and javadoc on JDK 25 fails on it -->
279+
<links combine.self="override"/>
277280
<quiet>true</quiet>
278281
<additionalOptions>
279282
<additionalOption>-Xdoclint:none</additionalOption>

0 commit comments

Comments
 (0)