Skip to content

Commit b4163dc

Browse files
committed
Downgrade requirement to Java 21
1 parent 8289dfc commit b4163dc

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@
7373
<profiles>
7474

7575
<profile>
76-
<id>Java25</id>
76+
<id>Java21</id>
7777
<activation>
78-
<jdk>[25,)</jdk>
78+
<jdk>[21,)</jdk>
7979
</activation>
8080
<modules>
8181
<module>vertx-core-logging</module>
@@ -86,7 +86,7 @@
8686

8787
<!--
8888
This profile can be activated when a toolchain is required, the main use case is building
89-
with Java 25 features with any JDK.
89+
with Java 21 features with any JDK.
9090
-->
9191
<profile>
9292
<id>toolchains</id>
@@ -109,7 +109,7 @@
109109
<version>11</version>
110110
</jdk>
111111
<jdk>
112-
<version>25</version>
112+
<version>21</version>
113113
</jdk>
114114
</toolchains>
115115
</configuration>

vertx-core-jackson-v3/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<name>Vert.x Core Jackson v3 plugin</name>
2727

2828
<properties>
29-
<maven.compiler.release>25</maven.compiler.release>
29+
<maven.compiler.release>21</maven.compiler.release>
3030
<maven.install.skip>true</maven.install.skip>
3131
</properties>
3232

vertx-core/pom.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -775,9 +775,9 @@
775775
<profiles>
776776

777777
<profile>
778-
<id>Java25</id>
778+
<id>Java21</id>
779779
<activation>
780-
<jdk>[25,)</jdk>
780+
<jdk>[21,)</jdk>
781781
</activation>
782782
<build>
783783
<pluginManagement>
@@ -786,14 +786,14 @@
786786
<artifactId>maven-compiler-plugin</artifactId>
787787
<executions>
788788
<execution>
789-
<id>Java25</id>
789+
<id>Java21</id>
790790
<goals>
791791
<goal>compile</goal>
792792
</goals>
793793
<configuration>
794-
<release>25</release>
794+
<release>21</release>
795795
<compileSourceRoots>
796-
<compileSourceRoot>${project.basedir}/src/main/java25</compileSourceRoot>
796+
<compileSourceRoot>${project.basedir}/src/main/java21</compileSourceRoot>
797797
</compileSourceRoots>
798798
<multiReleaseOutput>true</multiReleaseOutput>
799799
</configuration>
@@ -819,8 +819,8 @@
819819
<addExports>false</addExports>
820820
<detectUses>false</detectUses>
821821
<detectProvides>false</detectProvides>
822-
<moduleInfoYml>${project.basedir}/src/main/java25/module-info.yml</moduleInfoYml>
823-
<outputDirectory>${project.build.outputDirectory}/META-INF/versions/25</outputDirectory>
822+
<moduleInfoYml>src/main/java21/module-info.yml</moduleInfoYml>
823+
<outputDirectory>${project.build.outputDirectory}/META-INF/versions/21</outputDirectory>
824824
</configuration>
825825
</execution>
826826
</executions>

vertx-core/src/main/java25/io/vertx/core/json/jackson/JacksonFactory.java renamed to vertx-core/src/main/java21/io/vertx/core/json/jackson/JacksonFactory.java

File renamed without changes.

vertx-core/src/main/java25/io/vertx/core/json/jackson/v3/JacksonCodec.java renamed to vertx-core/src/main/java21/io/vertx/core/json/jackson/v3/JacksonCodec.java

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)