Skip to content

Commit 919fb6b

Browse files
authored
fix: pin async javadocs to Java 11 (#318)
The Java publish workflow for `v0.5.3` failed while generating Javadocs for the async modules because they use `java.net.http`, but the inherited Javadoc configuration was still resolved against Java 8 semantics. This change pins the async modules' Javadoc generation to Java 11 locally, without changing the root profile used by the synchronous modules. I validated this by rerunning the async Maven packaging path with `deploy-to-ossrh`; the original `package java.net.http does not exist` failure no longer reproduces and the build now advances to an unrelated external Javadoc link fetch error.
1 parent c7870eb commit 919fb6b

3 files changed

Lines changed: 24 additions & 0 deletions

File tree

java/async-client-pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,14 @@
105105
<artifactId>maven-surefire-plugin</artifactId>
106106
<version>3.2.5</version>
107107
</plugin>
108+
<plugin>
109+
<groupId>org.apache.maven.plugins</groupId>
110+
<artifactId>maven-javadoc-plugin</artifactId>
111+
<configuration>
112+
<source>11</source>
113+
<release>11</release>
114+
</configuration>
115+
</plugin>
108116
</plugins>
109117
</build>
110118

java/lance-namespace-async-client/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,14 @@
105105
<artifactId>maven-surefire-plugin</artifactId>
106106
<version>3.2.5</version>
107107
</plugin>
108+
<plugin>
109+
<groupId>org.apache.maven.plugins</groupId>
110+
<artifactId>maven-javadoc-plugin</artifactId>
111+
<configuration>
112+
<source>11</source>
113+
<release>11</release>
114+
</configuration>
115+
</plugin>
108116
</plugins>
109117
</build>
110118

java/lance-namespace-core-async/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,14 @@
6767
<artifactId>maven-surefire-plugin</artifactId>
6868
<version>3.2.5</version>
6969
</plugin>
70+
<plugin>
71+
<groupId>org.apache.maven.plugins</groupId>
72+
<artifactId>maven-javadoc-plugin</artifactId>
73+
<configuration>
74+
<source>11</source>
75+
<release>11</release>
76+
</configuration>
77+
</plugin>
7078
</plugins>
7179
</build>
7280
</project>

0 commit comments

Comments
 (0)