This is an automated email from the ASF dual-hosted git repository. mgrigorov pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/wicket.git
The following commit(s) were added to refs/heads/master by this push: new b94298bdd1 Enable testing for JDK 22 and 23-ea (#852) b94298bdd1 is described below commit b94298bdd164aa8a0e7d5be78c392a828a80bff8 Author: Martin Grigorov <marti...@users.noreply.github.com> AuthorDate: Mon Apr 29 09:18:12 2024 +0300 Enable testing for JDK 22 and 23-ea (#852) * Enable testing for JDK 22 and 23-ea Signed-off-by: Martin Tzvetanov Grigorov <mgrigo...@apache.org> * Add a Maven profile for JDK 22 JDK 23 is the Early Access release at the moment Signed-off-by: Martin Tzvetanov Grigorov <mgrigo...@apache.org> * Remove Maven profiles for JDK 18, 19 & 20 These JDKs are no more supported Signed-off-by: Martin Tzvetanov Grigorov <mgrigo...@apache.org> * Disable testing on JDK 23 ByteBuddy does not support it yet: ``` Caused by: java.lang.IllegalArgumentException: Java 23 (67) is not supported by the current version of Byte Buddy which officially supports Java 22 (66) - update Byte Buddy or set net.bytebuddy.experimental as a VM property ``` Signed-off-by: Martin Tzvetanov Grigorov <mgrigo...@apache.org> --------- Signed-off-by: Martin Tzvetanov Grigorov <mgrigo...@apache.org> --- .github/workflows/maven.yml | 1 + pom.xml | 62 ++++----------------------------------------- 2 files changed, 6 insertions(+), 57 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 1c320fc93f..82b1e2216d 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -18,6 +18,7 @@ jobs: java: - '17' - '21' + - '22' # - '23-ea' steps: diff --git a/pom.xml b/pom.xml index 229fc27115..b88e12aecb 100644 --- a/pom.xml +++ b/pom.xml @@ -1415,59 +1415,7 @@ </build> </profile> <profile> - <id>java18</id> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-toolchains-plugin</artifactId> - <version>${maven-toolchains-plugin.version}</version> - <executions> - <execution> - <goals> - <goal>toolchain</goal> - </goals> - </execution> - </executions> - <configuration> - <toolchains> - <jdk> - <version>18</version> - </jdk> - </toolchains> - </configuration> - </plugin> - </plugins> - </build> - </profile> - <profile> - <id>java19</id> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-toolchains-plugin</artifactId> - <version>${maven-toolchains-plugin.version}</version> - <executions> - <execution> - <goals> - <goal>toolchain</goal> - </goals> - </execution> - </executions> - <configuration> - <toolchains> - <jdk> - <version>19</version> - </jdk> - </toolchains> - </configuration> - </plugin> - </plugins> - </build> - </profile> - <profile> - <id>java20</id> + <id>java21</id> <build> <plugins> <plugin> @@ -1484,7 +1432,7 @@ <configuration> <toolchains> <jdk> - <version>20</version> + <version>21</version> </jdk> </toolchains> </configuration> @@ -1493,7 +1441,7 @@ </build> </profile> <profile> - <id>java21</id> + <id>java22</id> <build> <plugins> <plugin> @@ -1510,7 +1458,7 @@ <configuration> <toolchains> <jdk> - <version>21</version> + <version>22</version> </jdk> </toolchains> </configuration> @@ -1530,7 +1478,7 @@ <profile> <id>on-jdk-early-access</id> <activation> - <jdk>[22,)</jdk> + <jdk>[23,)</jdk> </activation> <properties> <javadoc.jdk.apidocs.link>https://download.java.net/java/early_access/jdk${java.specification.version}/docs/api/</javadoc.jdk.apidocs.link>