Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions codex-nms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
<description>A collection of NMS libraries for Codex</description>

<properties>
<!-- JDK each NMS module compiles with, through a Maven toolchain (see the jdkToolchain below).
Since JDK 22, javac also reads type annotations from the Spigot jars and then fails on
classes they reference that aren't on the classpath (e.g. datafixerupper), so the older
versions compile on 21. The 26.x modules override this with 25, because those Spigot
jars are Java 25 class files. -->
<!-- JDK each NMS module compiles and runs javadoc with, through Maven toolchains (see the
jdkToolchain settings below). Since JDK 22, javac and javadoc also read type annotations
from the Spigot jars and then fail on classes they reference that aren't on the classpath
(e.g. datafixerupper), so the older versions build on 21. The 26.x modules
override this with 25, because those Spigot jars are Java 25 class files. -->
<nms.jdk>21</nms.jdk>
</properties>

Expand Down Expand Up @@ -76,6 +76,15 @@
</jdkToolchain>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<jdkToolchain>
<version>${nms.jdk}</version>
</jdkToolchain>
</configuration>
</plugin>
</plugins>
</build>

Expand Down
Loading