You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2022/06/14 08:01:44 UTC

[wicket] branch master updated: Add a Maven profile for JDK 20 EA

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 8a9b4173b7 Add a Maven profile for JDK 20 EA
8a9b4173b7 is described below

commit 8a9b4173b72d333dbacce6b028384f64d2133f60
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
AuthorDate: Tue Jun 14 11:01:14 2022 +0300

    Add a Maven profile for JDK 20 EA
    
    Signed-off-by: Martin Tzvetanov Grigorov <mg...@apache.org>
---
 pom.xml | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/pom.xml b/pom.xml
index e2f3c1acbe..7be0faf038 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1444,6 +1444,32 @@
 				</plugins>
 			</build>
 		</profile>
+		<profile>
+			<id>java20</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>20</version>
+								</jdk>
+							</toolchains>
+						</configuration>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
 		<profile>
 			<id>on-jdk-11-or-12</id>
 			<activation>