Skip to content

Commit cc4a718

Browse files
committed
release: address maven-javadoc-plugin issues
maven-javadoc-plugin started failing: ``` Error: ROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.11.3:jar (attach-javadocs) on project scylla-driver-core: MavenReportException: Error while generating Javadoc: Error: ROR] Exit code: 1 Error: ROR] javadoc: warning - The code being documented uses modules but the packages defined in https://javadoc.io/doc/javax/javaee-api/8.0/ are in the unnamed module. Error: [ERROR] javadoc: error - Error fetching URL: https://javaee-spec.java.net/nonav/javadocs/ Error: ROR] javadoc: warning - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module. Error: ROR] javadoc: warning - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module. ```
1 parent 9a656d6 commit cc4a718

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,14 +542,15 @@
542542
<quiet>true</quiet>
543543
<verbose>false</verbose>
544544
<additionalparam>${javadoc.opts}</additionalparam>
545+
<detectJavaApiLink>true</detectJavaApiLink>
545546
<links>
546-
<link>https://docs.oracle.com/javase/8/docs/api/</link>
547+
<link>https://javadoc.io/doc/javax/javaee-api/8.0/</link>
547548
<link>https://google.github.io/guava/releases/19.0/api/docs/</link>
548549
<link>http://netty.io/4.0/api/</link>
549550
<link>http://www.joda.org/joda-time/apidocs/</link>
550551
<link>http://fasterxml.github.io/jackson-core/javadoc/2.8/</link>
551552
<link>http://fasterxml.github.io/jackson-databind/javadoc/2.7/</link>
552-
<link>https://javaee-spec.java.net/nonav/javadocs/</link>
553+
<link>https://jakarta.ee/specifications/platform/8/apidocs/</link>
553554
</links>
554555
<!-- optional dependencies from other modules (must be explicitly declared here in order to be correctly resolved) -->
555556
<additionalDependencies>

0 commit comments

Comments
 (0)