From f64bc85288c7fc00b44b5acdd258e5f34a02760d Mon Sep 17 00:00:00 2001 From: Eduardo Martins <emartins@redhat.com> Date: Mon, 28 Oct 2024 13:34:18 +0000 Subject: [PATCH] [WFLY-19892] moves Quickstarts Maven projects to Java SE 17 --- batch-processing/pom.xml | 2 ++ bmt/pom.xml | 2 ++ cmt/pom.xml | 2 ++ ee-security/pom.xml | 6 ++++-- ejb-multi-server/pom.xml | 4 +++- ejb-remote/pom.xml | 6 ++++-- ejb-security-context-propagation/pom.xml | 4 +++- ejb-security-programmatic-auth/pom.xml | 12 +++++++----- ejb-throws-exception/pom.xml | 4 +++- ejb-timer/pom.xml | 5 ++++- ejb-txn-remote-call/client/pom.xml | 6 ++++-- ejb-txn-remote-call/pom.xml | 6 +++++- ejb-txn-remote-call/server/pom.xml | 6 +++--- ha-singleton-deployment/pom.xml | 6 ++++-- ha-singleton-service/pom.xml | 6 ++++-- helloworld-jms/pom.xml | 5 ++++- helloworld-mdb/pom.xml | 5 ++++- helloworld-mutual-ssl-secured/pom.xml | 3 ++- helloworld-mutual-ssl/pom.xml | 3 ++- helloworld-singleton/pom.xml | 2 ++ helloworld-ws/pom.xml | 2 ++ helloworld/pom.xml | 2 ++ hibernate/pom.xml | 4 +++- http-custom-mechanism/pom.xml | 4 +++- jaxrs-client/pom.xml | 13 +++++-------- jaxrs-jwt/pom.xml | 13 +++++-------- jaxws-ejb/pom.xml | 2 ++ jaxws-retail/pom.xml | 4 +++- jsonp/pom.xml | 2 ++ jta-crash-rec/pom.xml | 4 +++- jts/pom.xml | 5 ++++- kitchensink/pom.xml | 2 ++ logging/pom.xml | 15 ++++++--------- mail/pom.xml | 6 ++++-- messaging-clustering-singleton/pom.xml | 5 ++++- micrometer/pom.xml | 4 +++- microprofile-config/pom.xml | 4 +++- microprofile-fault-tolerance/README-source.adoc | 5 ++--- microprofile-fault-tolerance/pom.xml | 6 ++++-- microprofile-health/pom.xml | 4 +++- microprofile-jwt/README-source.adoc | 5 ++--- microprofile-jwt/pom.xml | 6 ++++-- microprofile-lra/README-source.adoc | 10 ++++------ microprofile-lra/pom.xml | 4 +++- microprofile-openapi/pom.xml | 4 +++- .../README-source.adoc | 5 ++--- microprofile-reactive-messaging-kafka/pom.xml | 6 ++++-- microprofile-rest-client/pom.xml | 13 +++++-------- numberguess/pom.xml | 2 ++ opentelemetry-tracing/pom.xml | 4 +++- pom.xml | 12 +++--------- remote-helloworld-mdb/pom.xml | 5 ++++- security-domain-to-domain/pom.xml | 3 ++- servlet-async/pom.xml | 4 +++- servlet-filterlistener/pom.xml | 4 +++- servlet-security/pom.xml | 4 +++- spring-resteasy/pom.xml | 9 +++------ tasks-jsf/pom.xml | 5 ++++- temperature-converter/pom.xml | 2 ++ thread-racing/pom.xml | 2 ++ todo-backend/pom.xml | 4 +++- websocket-endpoint/pom.xml | 4 +++- websocket-hello/pom.xml | 2 ++ 63 files changed, 202 insertions(+), 118 deletions(-) diff --git a/batch-processing/pom.xml b/batch-processing/pom.xml index 44ec2f74ef..18a179f0d8 100644 --- a/batch-processing/pom.xml +++ b/batch-processing/pom.xml @@ -44,6 +44,8 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> <!-- the versions for BOMs, Packs and Plugins --> diff --git a/bmt/pom.xml b/bmt/pom.xml index b9473d9252..5e469423ec 100644 --- a/bmt/pom.xml +++ b/bmt/pom.xml @@ -44,6 +44,8 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> <!-- the versions for BOMs, Packs and Plugins --> diff --git a/cmt/pom.xml b/cmt/pom.xml index b4541203be..ae2f7ceded 100644 --- a/cmt/pom.xml +++ b/cmt/pom.xml @@ -43,6 +43,8 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> <!-- the versions for BOMs, Packs and Plugins --> diff --git a/ee-security/pom.xml b/ee-security/pom.xml index 494f0c9a05..3887a051cc 100644 --- a/ee-security/pom.xml +++ b/ee-security/pom.xml @@ -44,9 +44,11 @@ </licenses> <properties> - <!-- Version for the server --> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> + <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for BOMs, Packs and Plugins --> + <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> </properties> diff --git a/ejb-multi-server/pom.xml b/ejb-multi-server/pom.xml index 4b8c613489..1e4a1bbd8f 100644 --- a/ejb-multi-server/pom.xml +++ b/ejb-multi-server/pom.xml @@ -46,9 +46,11 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for BOMs, Dependencies and Plugins --> + <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> </properties> diff --git a/ejb-remote/pom.xml b/ejb-remote/pom.xml index d4caa63214..6e2964422f 100644 --- a/ejb-remote/pom.xml +++ b/ejb-remote/pom.xml @@ -43,9 +43,11 @@ </licenses> <properties> - <!-- Version for the server --> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> + <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for BOMs, Packs and Plugins --> + <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> </properties> diff --git a/ejb-security-context-propagation/pom.xml b/ejb-security-context-propagation/pom.xml index 1f09475417..a9004ac0d1 100644 --- a/ejb-security-context-propagation/pom.xml +++ b/ejb-security-context-propagation/pom.xml @@ -43,9 +43,11 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for BOMs, Dependencies and Plugins --> + <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> </properties> diff --git a/ejb-security-programmatic-auth/pom.xml b/ejb-security-programmatic-auth/pom.xml index ea263a6868..ac7248a39b 100644 --- a/ejb-security-programmatic-auth/pom.xml +++ b/ejb-security-programmatic-auth/pom.xml @@ -43,11 +43,13 @@ </licenses> <properties> - <!-- the version for the Server --> - <version.server>34.0.0.Final</version.server> - <!-- The versions for BOMs, Packs and Plugins --> - <version.bom.ee>${version.server}</version.bom.ee> - <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> + <!-- the version for the Server --> + <version.server>34.0.0.Final</version.server> + <!-- the versions for BOMs, Packs and Plugins --> + <version.bom.ee>${version.server}</version.bom.ee> + <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> </properties> <dependencyManagement> diff --git a/ejb-throws-exception/pom.xml b/ejb-throws-exception/pom.xml index aa4a3c0002..4a42eded77 100644 --- a/ejb-throws-exception/pom.xml +++ b/ejb-throws-exception/pom.xml @@ -50,9 +50,11 @@ </modules> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for BOMs, Dependencies and Plugins --> + <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> </properties> diff --git a/ejb-timer/pom.xml b/ejb-timer/pom.xml index 0b8a811517..ffe92f76ac 100644 --- a/ejb-timer/pom.xml +++ b/ejb-timer/pom.xml @@ -43,8 +43,11 @@ </licenses> <properties> - <!-- The versions for BOMs, Dependencies and Plugins --> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> + <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> + <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> </properties> diff --git a/ejb-txn-remote-call/client/pom.xml b/ejb-txn-remote-call/client/pom.xml index f736593b21..e48d335c40 100644 --- a/ejb-txn-remote-call/client/pom.xml +++ b/ejb-txn-remote-call/client/pom.xml @@ -28,7 +28,6 @@ <version>8</version> <relativePath/> </parent> -<!-- Temp: Trigger CI --> <artifactId>ejb-txn-remote-call-client</artifactId> <version>35.0.0.Beta1-SNAPSHOT</version> @@ -37,11 +36,14 @@ <description>The project is the application to be deployed on the client server to call the second server</description> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for BOMs, Packs and Plugins --> + <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> + <!-- the versions for other Dependencies and Plugins --> <version.postgresql>42.7.0</version.postgresql> </properties> diff --git a/ejb-txn-remote-call/pom.xml b/ejb-txn-remote-call/pom.xml index 909ecce076..320f71d130 100644 --- a/ejb-txn-remote-call/pom.xml +++ b/ejb-txn-remote-call/pom.xml @@ -28,7 +28,6 @@ <version>8</version> <relativePath/> </parent> -<!-- Temp: Trigger CI --> <artifactId>ejb-txn-remote-call</artifactId> <version>35.0.0.Beta1-SNAPSHOT</version> <packaging>pom</packaging> @@ -51,6 +50,11 @@ <module>server</module> </modules> + <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> + </properties> + <repositories> <repository> <id>jboss-public-maven-repository</id> diff --git a/ejb-txn-remote-call/server/pom.xml b/ejb-txn-remote-call/server/pom.xml index 2a1b928989..0920ff3215 100644 --- a/ejb-txn-remote-call/server/pom.xml +++ b/ejb-txn-remote-call/server/pom.xml @@ -28,7 +28,6 @@ <version>8</version> <relativePath/> </parent> -<!-- Temp: Trigger CI --> <artifactId>ejb-txn-remote-call-server</artifactId> <version>35.0.0.Beta1-SNAPSHOT</version> @@ -39,10 +38,11 @@ <properties> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for BOMs, Packs and Plugins --> + <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> - <version.narayana>7.0.0.Final</version.narayana> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> + <!-- the versions for other Dependencies and Plugins --> + <version.narayana>7.0.0.Final</version.narayana> </properties> <repositories> diff --git a/ha-singleton-deployment/pom.xml b/ha-singleton-deployment/pom.xml index f03ba4c439..841b5f0700 100644 --- a/ha-singleton-deployment/pom.xml +++ b/ha-singleton-deployment/pom.xml @@ -50,12 +50,14 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for BOMs, Packs and Plugins --> + <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> - <version.pack.cloud>7.0.0.Final</version.pack.cloud> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> + <!-- the versions for other Dependencies and Plugins --> <version.junit-jupiter>5.10.0</version.junit-jupiter> </properties> diff --git a/ha-singleton-service/pom.xml b/ha-singleton-service/pom.xml index ece4f46acb..bd796eb178 100644 --- a/ha-singleton-service/pom.xml +++ b/ha-singleton-service/pom.xml @@ -45,12 +45,14 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for BOMs, Packs and Plugins --> + <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> - <version.pack.cloud>7.0.0.Final</version.pack.cloud> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> + <!-- the versions for other Dependencies and Plugins --> <version.junit-jupiter>5.10.0</version.junit-jupiter> </properties> diff --git a/helloworld-jms/pom.xml b/helloworld-jms/pom.xml index 5a661e8b11..7ed29da5e6 100644 --- a/helloworld-jms/pom.xml +++ b/helloworld-jms/pom.xml @@ -43,12 +43,15 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for BOMs, Packs and Plugins --> + <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.pack.cloud>7.0.2.Final</version.pack.cloud> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> + <!-- the versions for other Dependencies and Plugins --> <version.junit-jupiter-engine>5.10.0</version.junit-jupiter-engine> </properties> diff --git a/helloworld-mdb/pom.xml b/helloworld-mdb/pom.xml index 69e331b9a3..ed1d8fbc62 100644 --- a/helloworld-mdb/pom.xml +++ b/helloworld-mdb/pom.xml @@ -44,11 +44,14 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for BOMs, Packs and Plugins --> + <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> + <!-- the versions for other Dependencies and Plugins --> <version.junit-jupiter-engine>5.10.0</version.junit-jupiter-engine> </properties> diff --git a/helloworld-mutual-ssl-secured/pom.xml b/helloworld-mutual-ssl-secured/pom.xml index 0531e8ff60..6cd5dac07b 100644 --- a/helloworld-mutual-ssl-secured/pom.xml +++ b/helloworld-mutual-ssl-secured/pom.xml @@ -44,11 +44,12 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> - <version.pack.cloud>7.0.0.Final</version.pack.cloud> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> </properties> diff --git a/helloworld-mutual-ssl/pom.xml b/helloworld-mutual-ssl/pom.xml index 6171b7a606..90ec2a0ed3 100644 --- a/helloworld-mutual-ssl/pom.xml +++ b/helloworld-mutual-ssl/pom.xml @@ -31,11 +31,12 @@ </parent> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> - <version.pack.cloud>7.0.0.Final</version.pack.cloud> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> </properties> diff --git a/helloworld-singleton/pom.xml b/helloworld-singleton/pom.xml index 4a97937537..9bed01f0db 100644 --- a/helloworld-singleton/pom.xml +++ b/helloworld-singleton/pom.xml @@ -44,6 +44,8 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> <!-- the versions for BOMs, Packs and Plugins --> diff --git a/helloworld-ws/pom.xml b/helloworld-ws/pom.xml index 21eaff66ad..54dd65b0b5 100644 --- a/helloworld-ws/pom.xml +++ b/helloworld-ws/pom.xml @@ -43,6 +43,8 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> <!-- the versions for BOMs, Packs and Plugins --> diff --git a/helloworld/pom.xml b/helloworld/pom.xml index 2cc3a7341c..dd68c60dba 100644 --- a/helloworld/pom.xml +++ b/helloworld/pom.xml @@ -43,6 +43,8 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> <!-- the versions for BOMs, Packs and Plugins --> diff --git a/hibernate/pom.xml b/hibernate/pom.xml index 8d3774395b..2a9273d3d6 100644 --- a/hibernate/pom.xml +++ b/hibernate/pom.xml @@ -44,12 +44,14 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> - <!-- the versions for test dependencies --> + <!-- the versions for other Dependencies and Plugins --> <version.org.junit.jupiter>5.9.1</version.org.junit.jupiter> </properties> diff --git a/http-custom-mechanism/pom.xml b/http-custom-mechanism/pom.xml index 3aad986b69..ad67e46a38 100644 --- a/http-custom-mechanism/pom.xml +++ b/http-custom-mechanism/pom.xml @@ -49,9 +49,11 @@ </modules> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for BOMs, Packs and Plugins --> + <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> </properties> diff --git a/jaxrs-client/pom.xml b/jaxrs-client/pom.xml index 61286d2450..9fa04835db 100644 --- a/jaxrs-client/pom.xml +++ b/jaxrs-client/pom.xml @@ -44,21 +44,18 @@ </licenses> <properties> - <!-- The server version --> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> + <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for BOMs, Dependencies and Plugins --> + <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> - + <!-- the versions for other Dependencies and Plugins --> <version.com.nimbusds.jose.jwt>9.37.1</version.com.nimbusds.jose.jwt> <version.org.junit>5.10.1</version.org.junit> - <!-- Configuration settings --> <jboss.home>${project.build.directory}/server</jboss.home> - - <!-- These settings can be removed when the parent is upgraded to 6 --> - <maven.compiler.target>11</maven.compiler.target> - <maven.compiler.source>11</maven.compiler.source> </properties> <dependencyManagement> diff --git a/jaxrs-jwt/pom.xml b/jaxrs-jwt/pom.xml index cd15b5ff68..bd8f878b32 100644 --- a/jaxrs-jwt/pom.xml +++ b/jaxrs-jwt/pom.xml @@ -43,21 +43,18 @@ </licenses> <properties> - <!-- The server version --> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> + <!-- the server version --> <version.server>34.0.0.Final</version.server> - <!-- The versions for BOMs, Dependencies and Plugins --> + <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> - + <!-- the versions for other Dependencies and Plugins --> <version.com.nimbusds.jose.jwt>9.37.1</version.com.nimbusds.jose.jwt> <version.org.junit>5.10.1</version.org.junit> - <!-- Configuration settings --> <jboss.home>${project.build.directory}/server</jboss.home> - - <!-- These settings can be removed when the parent is upgraded to 6 --> - <maven.compiler.target>11</maven.compiler.target> - <maven.compiler.source>11</maven.compiler.source> </properties> <dependencyManagement> diff --git a/jaxws-ejb/pom.xml b/jaxws-ejb/pom.xml index c5816bc72c..611e36badb 100644 --- a/jaxws-ejb/pom.xml +++ b/jaxws-ejb/pom.xml @@ -43,6 +43,8 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> <!-- the versions for BOMs, Packs and Plugins --> diff --git a/jaxws-retail/pom.xml b/jaxws-retail/pom.xml index 0bb1140dfe..7f2ce9a4cf 100644 --- a/jaxws-retail/pom.xml +++ b/jaxws-retail/pom.xml @@ -42,12 +42,14 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> - <!-- The versions for BOMs, Dependencies and Plugins --> + <!-- the versions for other Dependencies and Plugins --> <version.jaxws-tools-maven-plugin>1.3.0.Final</version.jaxws-tools-maven-plugin> </properties> diff --git a/jsonp/pom.xml b/jsonp/pom.xml index 28cf3f13fd..4393264dc9 100644 --- a/jsonp/pom.xml +++ b/jsonp/pom.xml @@ -43,6 +43,8 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> <!-- the versions for BOMs, Packs and Plugins --> diff --git a/jta-crash-rec/pom.xml b/jta-crash-rec/pom.xml index 9cbe4897b7..aee1860280 100644 --- a/jta-crash-rec/pom.xml +++ b/jta-crash-rec/pom.xml @@ -43,7 +43,9 @@ </licenses> <properties> - <!-- The compatible WildFly version --> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> + <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> <!-- The versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> diff --git a/jts/pom.xml b/jts/pom.xml index 6fb38fde6a..4f9eb7e27a 100644 --- a/jts/pom.xml +++ b/jts/pom.xml @@ -51,8 +51,11 @@ </modules> <properties> - <!-- The versions for BOMs, Dependencies and Plugins --> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> + <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> + <!-- the versions for BOMs, Dependencies and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> </properties> diff --git a/kitchensink/pom.xml b/kitchensink/pom.xml index d37487800f..d0308417db 100644 --- a/kitchensink/pom.xml +++ b/kitchensink/pom.xml @@ -43,6 +43,8 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> <!-- the versions for BOMs, Packs and Plugins --> diff --git a/logging/pom.xml b/logging/pom.xml index d8d1e10210..7a44eee3d6 100644 --- a/logging/pom.xml +++ b/logging/pom.xml @@ -43,20 +43,17 @@ </licenses> <properties> - <!-- The server version --> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> + <!-- The version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for BOMs, Dependencies and Plugins --> + <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> - + <!-- the versions for other Dependencies and Plugins --> <version.org.junit>5.10.1</version.org.junit> - - <!-- Configuration settings --> + <!-- Project configuration settings --> <jboss.home>${project.build.directory}/server</jboss.home> - - <!-- These settings can be removed when the parent is upgraded to 6 --> - <maven.compiler.target>11</maven.compiler.target> - <maven.compiler.source>11</maven.compiler.source> </properties> <dependencyManagement> diff --git a/mail/pom.xml b/mail/pom.xml index 5a7af6e689..1200ae6d64 100644 --- a/mail/pom.xml +++ b/mail/pom.xml @@ -44,12 +44,14 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for BOMs, Packs and Plugins --> + <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> - + <!-- the versions for other Dependencies and Plugins --> <version.org.seleniumhq.selenium>4.15.0</version.org.seleniumhq.selenium> <version.webdrivermanager>5.7.0</version.webdrivermanager> </properties> diff --git a/messaging-clustering-singleton/pom.xml b/messaging-clustering-singleton/pom.xml index 6bed3983a0..4162d84283 100644 --- a/messaging-clustering-singleton/pom.xml +++ b/messaging-clustering-singleton/pom.xml @@ -43,11 +43,14 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for BOMs, Packs and Plugins --> + <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> + <!-- the versions for other Dependencies and Plugins --> <version.junit-jupiter-engine>5.10.0</version.junit-jupiter-engine> </properties> diff --git a/micrometer/pom.xml b/micrometer/pom.xml index 9504848a0f..4e2fb16d70 100644 --- a/micrometer/pom.xml +++ b/micrometer/pom.xml @@ -21,9 +21,11 @@ <name>Quickstart: micrometer</name> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for the BOMs, Packs and Plugins --> + <!-- the versions for the BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.bom.expansion>${version.server}</version.bom.expansion> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> diff --git a/microprofile-config/pom.xml b/microprofile-config/pom.xml index 09b7e6f334..b7f2dfbad9 100644 --- a/microprofile-config/pom.xml +++ b/microprofile-config/pom.xml @@ -19,9 +19,11 @@ <name>Quickstart: microprofile-config</name> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for the BOMs, Packs and Plugins --> + <!-- the versions for the BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.bom.expansion>${version.server}</version.bom.expansion> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> diff --git a/microprofile-fault-tolerance/README-source.adoc b/microprofile-fault-tolerance/README-source.adoc index 087443ef85..b5fc19052b 100644 --- a/microprofile-fault-tolerance/README-source.adoc +++ b/microprofile-fault-tolerance/README-source.adoc @@ -82,12 +82,11 @@ Add the following properties to the `pom.xml`: <version.bom.ee>{versionServerBom}</version.bom.ee> ---- -Also the project can be updated to use Java 8 as the minimum: +Also the project can be updated to use Java 17 as the minimum: [source,options="nowrap"] ---- -<maven.compiler.source>1.8</maven.compiler.source> -<maven.compiler.target>1.8</maven.compiler.target> +<maven.compiler.release>17</maven.compiler.release> ---- Before the dependencies are defined add the following boms: diff --git a/microprofile-fault-tolerance/pom.xml b/microprofile-fault-tolerance/pom.xml index 6f51511b25..b44fb7ece2 100644 --- a/microprofile-fault-tolerance/pom.xml +++ b/microprofile-fault-tolerance/pom.xml @@ -52,13 +52,15 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for the BOMs, Packs and Plugins --> + <!-- the versions for the BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.bom.expansion>${version.server}</version.bom.expansion> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> - <!-- The versions for other dependencies and plugin --> + <!-- the versions for other Dependencies and Plugins --> <version.io.rest-assured>4.3.1</version.io.rest-assured> </properties> diff --git a/microprofile-health/pom.xml b/microprofile-health/pom.xml index 7fcd1afe75..6a9232af2d 100644 --- a/microprofile-health/pom.xml +++ b/microprofile-health/pom.xml @@ -18,9 +18,11 @@ <name>Quickstart: microprofile-health</name> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for BOMs, Packs and Plugins --> + <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.bom.expansion>${version.server}</version.bom.expansion> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> diff --git a/microprofile-jwt/README-source.adoc b/microprofile-jwt/README-source.adoc index d1050d7937..414fe814e3 100644 --- a/microprofile-jwt/README-source.adoc +++ b/microprofile-jwt/README-source.adoc @@ -172,12 +172,11 @@ Add the following properties to the `pom.xml`. <version.bom.ee>{versionServerBom}</version.bom.ee> ---- -Also the project can be updated to use Java 11 as the minimum. +Also the project can be updated to use Java 17 as the minimum. [source,options="nowrap"] ---- -<maven.compiler.source>11</maven.compiler.source> -<maven.compiler.target>11</maven.compiler.target> +<maven.compiler.release>17</maven.compiler.release> ---- Before the dependencies are defined add the following boms. diff --git a/microprofile-jwt/pom.xml b/microprofile-jwt/pom.xml index cf7c490fc6..037f7d8f3a 100644 --- a/microprofile-jwt/pom.xml +++ b/microprofile-jwt/pom.xml @@ -43,13 +43,15 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for BOMs, Packs and Plugins --> + <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.bom.expansion>${version.server}</version.bom.expansion> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> - <!-- The versions for other dependencies and plugin --> + <!-- the versions for other Dependencies and Plugins --> <version.com.nimbusds.jose-jwt>9.24.4.redhat-00001</version.com.nimbusds.jose-jwt> <version.org.glassfish.jakarta.json>1.1.6</version.org.glassfish.jakarta.json> </properties> diff --git a/microprofile-lra/README-source.adoc b/microprofile-lra/README-source.adoc index 97067b60b1..18e58c0524 100644 --- a/microprofile-lra/README-source.adoc +++ b/microprofile-lra/README-source.adoc @@ -186,20 +186,18 @@ Open the project in your favourite IDE. Open the generated `pom.xml`. -The first thing to do is to change the minimum JDK to Java 11 and set the other relevant version properties: +The first thing to do is to change the minimum JDK to Java 17 and set the other relevant version properties: [source,xml,subs="attributes+"] ---- -<maven.compiler.source>11</maven.compiler.source> -<maven.compiler.target>11</maven.compiler.target> - +<!-- the Maven project should use the minimum Java SE version supported --> +<maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>{versionServer}</version.server> -<!-- The versions for the BOMs, Packs and Plugins --> +<!-- the versions for the BOMs, Packs and Plugins --> <version.bom.ee>{versionBomEE}</version.bom.ee> <version.bom.expansion>{versionBomMicroprofile}</version.bom.expansion> <version.plugin.wildfly>{versionPluginWildfly}</version.plugin.wildfly> -<version.plugin.wildfly-jar>{versionPluginWildflyJar}</version.plugin.wildfly-jar> ---- Next we need to setup our dependencies. Add the following section to your diff --git a/microprofile-lra/pom.xml b/microprofile-lra/pom.xml index 3e2b26585b..6c517fe00c 100644 --- a/microprofile-lra/pom.xml +++ b/microprofile-lra/pom.xml @@ -18,9 +18,11 @@ <name>Quickstart: microprofile-lra</name> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for the BOMs, Packs and Plugins --> + <!-- the versions for the BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.bom.expansion>${version.server}</version.bom.expansion> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> diff --git a/microprofile-openapi/pom.xml b/microprofile-openapi/pom.xml index f5cc549191..25f204b274 100644 --- a/microprofile-openapi/pom.xml +++ b/microprofile-openapi/pom.xml @@ -20,9 +20,11 @@ <name>Quickstart: microprofile-openapi</name> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for the BOMs, Packs and Plugins --> + <!-- the versions for the BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.bom.expansion>${version.server}</version.bom.expansion> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> diff --git a/microprofile-reactive-messaging-kafka/README-source.adoc b/microprofile-reactive-messaging-kafka/README-source.adoc index 2006360a46..92541587f0 100644 --- a/microprofile-reactive-messaging-kafka/README-source.adoc +++ b/microprofile-reactive-messaging-kafka/README-source.adoc @@ -76,12 +76,11 @@ cd microprofile-reactive-messaging-kafka Open the project in your favourite IDE. -The project needs to be updated to use Java 8 as the minimum: +The project needs to be updated to use Java 17 as the minimum: [source,options="nowrap"] ---- -<maven.compiler.source>1.8</maven.compiler.source> -<maven.compiler.target>1.8</maven.compiler.target> +<maven.compiler.release>17</maven.compiler.release> ---- Next set up our dependencies. Add the following section to your diff --git a/microprofile-reactive-messaging-kafka/pom.xml b/microprofile-reactive-messaging-kafka/pom.xml index a2c813d99c..61e3a6be29 100644 --- a/microprofile-reactive-messaging-kafka/pom.xml +++ b/microprofile-reactive-messaging-kafka/pom.xml @@ -35,13 +35,15 @@ <name>Quickstart: microprofile-reactive-messaging-kafka</name> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for BOMs, Packs and Plugins --> + <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.bom.expansion>${version.server}</version.bom.expansion> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> - <!-- The versions for other Dependencies and Plugins --> + <!-- the versions for other Dependencies and Plugins --> <version.io.smallrye-config>3.0.0</version.io.smallrye-config> <version.org.jboss.resteasy.microprofile.rest-client>2.0.0.Final</version.org.jboss.resteasy.microprofile.rest-client> </properties> diff --git a/microprofile-rest-client/pom.xml b/microprofile-rest-client/pom.xml index bf162cd692..fc5807306c 100644 --- a/microprofile-rest-client/pom.xml +++ b/microprofile-rest-client/pom.xml @@ -41,23 +41,20 @@ </licenses> <properties> - <!-- The server version --> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> + <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for BOMs, Dependencies and Plugins --> + <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.bom.expansion>${version.server}</version.bom.expansion> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> - <!-- The versions for other Dependencies and Plugins --> + <!-- the versions for other Dependencies and Plugins --> <version.org.jboss.resteasy>6.2.6.Final</version.org.jboss.resteasy> <version.org.junit>5.10.1</version.org.junit> - <!-- Configuration settings --> <jboss.home>${project.build.directory}/server</jboss.home> <server.host>http://localhost:8080/microprofile-rest-client</server.host> - - <!-- These settings can be removed when the parent is upgraded to 6 --> - <maven.compiler.target>11</maven.compiler.target> - <maven.compiler.source>11</maven.compiler.source> </properties> <dependencyManagement> diff --git a/numberguess/pom.xml b/numberguess/pom.xml index bff81f2069..810689fcc5 100644 --- a/numberguess/pom.xml +++ b/numberguess/pom.xml @@ -43,6 +43,8 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> <!-- the versions for BOMs, Packs and Plugins --> diff --git a/opentelemetry-tracing/pom.xml b/opentelemetry-tracing/pom.xml index 5866989788..95505df516 100644 --- a/opentelemetry-tracing/pom.xml +++ b/opentelemetry-tracing/pom.xml @@ -19,9 +19,11 @@ <name>Quickstart: opentelemetry-tracing</name> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for the BOMs, Packs and Plugins --> + <!-- the versions for the BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.bom.expansion>${version.server}</version.bom.expansion> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> diff --git a/pom.xml b/pom.xml index f2d153290a..bbea90bdc8 100644 --- a/pom.xml +++ b/pom.xml @@ -62,6 +62,8 @@ filtered resources, i.e. build is platform dependent! --> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <linkXRef>false</linkXRef> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> </properties> <build> @@ -284,6 +286,7 @@ <module>servlet-async</module> <module>servlet-filterlistener</module> <module>servlet-security</module> + <module>spring-resteasy</module> <module>tasks-jsf</module> <module>temperature-converter</module> <module>todo-backend</module> @@ -292,15 +295,6 @@ <module>websocket-hello</module> </modules> </profile> - <profile> - <id>jdk-17-required</id> - <activation> - <jdk>[17,)</jdk> - </activation> - <modules> - <module>spring-resteasy</module> - </modules> - </profile> <profile> <!-- All the quickstarts that require Postgres to be running --> <id>requires-postgres</id> diff --git a/remote-helloworld-mdb/pom.xml b/remote-helloworld-mdb/pom.xml index 58c8999818..b987dd60c9 100644 --- a/remote-helloworld-mdb/pom.xml +++ b/remote-helloworld-mdb/pom.xml @@ -44,11 +44,14 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for BOMs, Packs and Plugins --> + <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> + <!-- the versions for other Dependencies and Plugins --> <version.junit-jupiter-engine>5.10.0</version.junit-jupiter-engine> </properties> diff --git a/security-domain-to-domain/pom.xml b/security-domain-to-domain/pom.xml index 3620452ade..9b1b5973fd 100644 --- a/security-domain-to-domain/pom.xml +++ b/security-domain-to-domain/pom.xml @@ -51,11 +51,12 @@ </modules> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> - <version.pack.cloud>7.0.0.Final</version.pack.cloud> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> </properties> diff --git a/servlet-async/pom.xml b/servlet-async/pom.xml index ca43c46b94..964a721cbb 100644 --- a/servlet-async/pom.xml +++ b/servlet-async/pom.xml @@ -44,12 +44,14 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> - <!-- the versions for test dependencies --> + <!-- the versions for other Dependencies and Plugins --> <version.org.junit.jupiter>5.9.1</version.org.junit.jupiter> </properties> diff --git a/servlet-filterlistener/pom.xml b/servlet-filterlistener/pom.xml index f103ab9e9d..d67cc6aae0 100644 --- a/servlet-filterlistener/pom.xml +++ b/servlet-filterlistener/pom.xml @@ -44,12 +44,14 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> - <!-- the versions for test dependencies --> + <!-- the versions for other Dependencies and Plugins --> <version.org.junit.jupiter>5.9.1</version.org.junit.jupiter> </properties> diff --git a/servlet-security/pom.xml b/servlet-security/pom.xml index 7c08c63dc3..012f43e7c7 100644 --- a/servlet-security/pom.xml +++ b/servlet-security/pom.xml @@ -44,12 +44,14 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> - <!-- the versions for test dependencies --> + <!-- the versions for other Dependencies and Plugins --> <version.org.junit.jupiter>5.9.1</version.org.junit.jupiter> </properties> diff --git a/spring-resteasy/pom.xml b/spring-resteasy/pom.xml index db2121c049..b8ed4d8aba 100644 --- a/spring-resteasy/pom.xml +++ b/spring-resteasy/pom.xml @@ -44,17 +44,14 @@ </licenses> <properties> - <!-- Spring 6 requires Java 17 --> - <maven.compiler.target>17</maven.compiler.target> - <maven.compiler.source>17</maven.compiler.source> - + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> - - <!-- The versions for other Dependencies and Plugins --> + <!-- the versions for other Dependencies and Plugins --> <version.spring.framework>6.0.4</version.spring.framework> </properties> diff --git a/tasks-jsf/pom.xml b/tasks-jsf/pom.xml index 662da3dfed..d522ebcf3b 100644 --- a/tasks-jsf/pom.xml +++ b/tasks-jsf/pom.xml @@ -44,13 +44,16 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> + <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.pack.cloud>7.0.0.Final</version.pack.cloud> <version.pack.datasources>8.0.0.Final</version.pack.datasources> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> - <!-- the versions for test dependencies --> + <!-- the versions for other Dependencies and Plugins --> <version.org.junit.jupiter>5.9.1</version.org.junit.jupiter> </properties> diff --git a/temperature-converter/pom.xml b/temperature-converter/pom.xml index 3cb4918a26..fdc3a4a5b1 100644 --- a/temperature-converter/pom.xml +++ b/temperature-converter/pom.xml @@ -44,6 +44,8 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> <!-- the versions for BOMs, Packs and Plugins --> diff --git a/thread-racing/pom.xml b/thread-racing/pom.xml index 3a74ed2d79..48df0b0df5 100644 --- a/thread-racing/pom.xml +++ b/thread-racing/pom.xml @@ -44,6 +44,8 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> <!-- the versions for BOMs, Packs and Plugins --> diff --git a/todo-backend/pom.xml b/todo-backend/pom.xml index 58e4585a8e..daf89bd9e2 100644 --- a/todo-backend/pom.xml +++ b/todo-backend/pom.xml @@ -44,9 +44,11 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> - <!-- The versions for BOMs, Packs and Plugins --> + <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> </properties> diff --git a/websocket-endpoint/pom.xml b/websocket-endpoint/pom.xml index d53c97693b..335cb11f0d 100644 --- a/websocket-endpoint/pom.xml +++ b/websocket-endpoint/pom.xml @@ -44,12 +44,14 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> <!-- the versions for BOMs, Packs and Plugins --> <version.bom.ee>${version.server}</version.bom.ee> <version.plugin.wildfly>5.0.0.Final</version.plugin.wildfly> - <!-- the versions for test dependencies --> + <!-- the versions for other Dependencies and Plugins --> <version.org.junit.jupiter>5.9.1</version.org.junit.jupiter> <version.org.eclipse.parsson>1.1.5</version.org.eclipse.parsson> </properties> diff --git a/websocket-hello/pom.xml b/websocket-hello/pom.xml index 357e0413d1..126cfaaa1e 100644 --- a/websocket-hello/pom.xml +++ b/websocket-hello/pom.xml @@ -44,6 +44,8 @@ </licenses> <properties> + <!-- the Maven project should use the minimum Java SE version supported --> + <maven.compiler.release>17</maven.compiler.release> <!-- the version for the Server --> <version.server>34.0.0.Final</version.server> <!-- the versions for BOMs, Packs and Plugins -->