This is an automated email from the ASF dual-hosted git repository.

rzo1 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomee.git


The following commit(s) were added to refs/heads/main by this push:
     new 924ba968aa Configure Compiler Target for Examples to 17
924ba968aa is described below

commit 924ba968aad6a01633e0924d943f52867cf1e2a0
Author: Richard Zowalla <[email protected]>
AuthorDate: Fri Nov 21 09:31:24 2025 +0100

    Configure Compiler Target for Examples to 17
---
 deps/taglibs-shade/pom.xml                             |  5 +++--
 examples/access-timeout-meta/pom.xml                   |  5 +++--
 examples/access-timeout/pom.xml                        |  5 +++--
 examples/activemq-multiple-brokers/pom.xml             |  5 +++--
 examples/alternate-descriptors/pom.xml                 |  5 +++--
 examples/application-composer/pom.xml                  |  4 ++--
 examples/applicationcomposer-jaxws-cdi/pom.xml         |  5 +++--
 examples/applicationexception/pom.xml                  |  4 ++--
 examples/async-methods/pom.xml                         |  4 ++--
 examples/async-postconstruct/pom.xml                   |  4 ++--
 examples/async-servlet/pom.xml                         |  4 ++--
 examples/bean-validation-design-by-contract/pom.xml    |  5 +++--
 examples/bval-evaluation-redeployment/WebApp1/pom.xml  |  5 +++--
 examples/bval-evaluation-redeployment/WebApp2/pom.xml  |  5 +++--
 examples/cdi-alternative-and-stereotypes/pom.xml       |  5 +++--
 examples/cdi-application-scope/pom.xml                 |  5 +++--
 examples/cdi-basic/pom.xml                             |  5 +++--
 examples/cdi-dynamic-inject/pom.xml                    |  5 +++--
 examples/cdi-ejbcontext-jaas/pom.xml                   |  5 +++--
 examples/cdi-events/pom.xml                            |  5 +++--
 examples/cdi-interceptors/pom.xml                      |  5 +++--
 examples/cdi-produces-disposes/pom.xml                 |  5 +++--
 examples/cdi-produces-field/pom.xml                    |  5 +++--
 examples/cdi-qualifier/pom.xml                         |  5 +++--
 examples/cdi-realm/pom.xml                             |  5 +++--
 examples/cdi-request-scope/pom.xml                     |  5 +++--
 examples/cdi-session-scope/pom.xml                     |  5 +++--
 examples/change-jaxws-url/pom.xml                      |  5 +++--
 examples/client-resource-lookup-preview/pom.xml        |  5 +++--
 examples/cloud-tomee-azure/pom.xml                     |  5 +++--
 examples/component-interfaces/pom.xml                  |  5 +++--
 examples/concurrency-utils/pom.xml                     |  5 +++--
 examples/custom-injection/pom.xml                      |  5 +++--
 examples/datasource-ciphered-password/pom.xml          |  5 +++--
 examples/datasource-definition/pom.xml                 |  5 +++--
 examples/datasource-versioning/pom.xml                 |  5 +++--
 examples/decorators/pom.xml                            |  5 +++--
 examples/dynamic-dao-implementation/pom.xml            |  5 +++--
 examples/dynamic-datasource-routing/pom.xml            |  5 +++--
 examples/dynamic-implementation/pom.xml                |  5 +++--
 examples/dynamic-proxy-to-access-mbean/pom.xml         |  5 +++--
 examples/ejb-examples/pom.xml                          |  5 +++--
 examples/ejb-remote-call-2/pom.xml                     |  5 +++--
 examples/ejb-remote-call/pom.xml                       |  5 +++--
 examples/ejb-webservice/pom.xml                        |  5 +++--
 examples/groovy-cdi/pom.xml                            |  5 +++--
 examples/groovy-jpa/pom.xml                            |  5 +++--
 examples/helloworld-weblogic/pom.xml                   |  5 +++--
 examples/injection-of-connectionfactory/pom.xml        |  5 +++--
 examples/injection-of-datasource/pom.xml               |  5 +++--
 examples/injection-of-ejbs/pom.xml                     |  5 +++--
 examples/injection-of-entitymanager/pom.xml            |  5 +++--
 examples/injection-of-env-entry/pom.xml                |  5 +++--
 examples/interceptors/pom.xml                          |  5 +++--
 examples/javamail-velocity/pom.xml                     |  5 +++--
 examples/jaxrs-json-provider-jettison/pom.xml          |  5 +++--
 examples/jpa-enumerated/pom.xml                        |  5 +++--
 examples/jsf-cdi-and-ejb/pom.xml                       |  5 +++--
 examples/jsonb-configuration/pom.xml                   |  5 +++--
 examples/jsonb-custom-serializer/pom.xml               |  5 +++--
 examples/lookup-of-ejbs-with-descriptor/pom.xml        |  5 +++--
 examples/lookup-of-ejbs/pom.xml                        |  5 +++--
 examples/moviefun/pom.xml                              |  5 +++--
 examples/movies-complete-meta/pom.xml                  |  5 +++--
 examples/movies-complete/pom.xml                       |  5 +++--
 examples/mp-config-example/pom.xml                     |  5 +++--
 examples/mp-config-source-database/pom.xml             |  5 +++--
 examples/mp-jsonb-configuration/pom.xml                |  5 +++--
 examples/mp-jwt-bean-validation-strongly-typed/pom.xml |  5 +++--
 examples/mp-jwt-bean-validation/pom.xml                |  5 +++--
 examples/mp-metrics-gauge/pom.xml                      |  5 +++--
 examples/mp-openapi-reader/pom.xml                     |  5 +++--
 examples/mp-rest-client/pom.xml                        |  5 +++--
 examples/mp-rest-jwt-jwk/pom.xml                       |  5 +++--
 examples/mp-rest-jwt-principal/pom.xml                 |  5 +++--
 examples/mp-rest-jwt-public-key/pom.xml                |  5 +++--
 examples/mtom/pom.xml                                  |  5 +++--
 examples/multiple-arquillian-adapters/pom.xml          |  5 +++--
 examples/multiple-tomee-arquillian/pom.xml             |  5 +++--
 examples/persistence-fragment/pom.xml                  |  5 +++--
 examples/pojo-webservice/pom.xml                       |  5 +++--
 examples/polling-parent/polling-web/pom.xml            |  5 +++--
 examples/polling-parent/pom.xml                        |  5 +++--
 examples/realm-in-tomee/pom.xml                        |  5 +++--
 examples/reload-persistence-unit-properties/pom.xml    |  5 +++--
 examples/resources-declared-in-webapp/pom.xml          |  5 +++--
 examples/rest-applicationcomposer-mockito/pom.xml      |  5 +++--
 examples/rest-applicationcomposer/pom.xml              |  5 +++--
 examples/rest-cdi/pom.xml                              |  5 +++--
 examples/rest-example-with-application/pom.xml         |  5 +++--
 examples/rest-example/pom.xml                          |  5 +++--
 examples/rest-jaas/pom.xml                             |  5 +++--
 examples/rest-on-ejb/pom.xml                           |  5 +++--
 examples/rest-sse-example/pom.xml                      |  5 +++--
 examples/rest-xml-json/pom.xml                         |  5 +++--
 examples/scala-basic/pom.xml                           |  5 +++--
 examples/schedule-events/pom.xml                       |  5 +++--
 examples/schedule-expression/pom.xml                   |  5 +++--
 examples/schedule-methods-meta/pom.xml                 |  5 +++--
 examples/schedule-methods/pom.xml                      |  5 +++--
 examples/security-custom-identitystore/pom.xml         |  5 +++--
 examples/security-openid/pom.xml                       | 17 +++++++++++++++++
 examples/security-tomcat-user-identitystore/pom.xml    |  5 +++--
 examples/server-events/pom.xml                         |  5 +++--
 examples/serverless-builder/pom.xml                    |  5 +++--
 examples/serverless-tomee-microprofile/pom.xml         |  5 +++--
 examples/serverless-tomee-plume/pom.xml                |  5 +++--
 examples/serverless-tomee-plus/pom.xml                 |  5 +++--
 examples/serverless-tomee-webprofile/pom.xml           |  5 +++--
 examples/simple-cdi-interceptor/pom.xml                |  5 +++--
 examples/simple-cmp2/pom.xml                           |  5 +++--
 examples/simple-jms-context/pom.xml                    |  5 +++--
 examples/simple-jms/pom.xml                            |  5 +++--
 examples/simple-mdb-and-cdi/pom.xml                    |  5 +++--
 examples/simple-mdb-with-descriptor/pom.xml            |  5 +++--
 examples/simple-mdb/pom.xml                            |  5 +++--
 examples/simple-remote-tomcatusers/pom.xml             |  5 +++--
 examples/simple-rest/pom.xml                           |  5 +++--
 examples/simple-singleton/pom.xml                      |  5 +++--
 examples/simple-stateful-callbacks/pom.xml             |  5 +++--
 examples/simple-stateful/pom.xml                       |  5 +++--
 examples/simple-stateless-callbacks/pom.xml            |  5 +++--
 examples/simple-stateless-with-descriptor/pom.xml      |  5 +++--
 examples/simple-stateless/pom.xml                      |  5 +++--
 examples/simple-webservice-without-interface/pom.xml   |  5 +++--
 examples/simple-webservice/pom.xml                     |  5 +++--
 examples/singleton-startup-ordering/pom.xml            |  5 +++--
 examples/struts/pom.xml                                |  5 +++--
 examples/telephone-stateful/pom.xml                    |  5 +++--
 examples/testcase-injection/pom.xml                    |  5 +++--
 examples/testing-security-2/pom.xml                    |  5 +++--
 examples/testing-security-3/pom.xml                    |  5 +++--
 examples/testing-security-4/pom.xml                    |  5 +++--
 examples/testing-security-meta/pom.xml                 |  5 +++--
 examples/testing-security/pom.xml                      |  5 +++--
 examples/testing-transactions-bmt/pom.xml              |  5 +++--
 examples/testing-transactions/pom.xml                  |  5 +++--
 examples/tomee-jersey-eclipselink/pom.xml              |  5 +++--
 examples/tomee-jms-portability/pom.xml                 |  5 +++--
 examples/transaction-rollback/pom.xml                  |  5 +++--
 examples/troubleshooting/pom.xml                       |  5 +++--
 examples/webservice-attachments/pom.xml                |  5 +++--
 examples/webservice-handlerchain/pom.xml               |  5 +++--
 examples/webservice-holder/pom.xml                     |  5 +++--
 examples/webservice-inheritance/pom.xml                |  5 +++--
 examples/webservice-security/pom.xml                   |  5 +++--
 examples/webservice-ws-security/pom.xml                |  5 +++--
 examples/webservice-ws-with-resources-config/pom.xml   |  5 +++--
 examples/websocket-jms/pom.xml                         |  5 +++--
 examples/websocket-tls-basic-auth/pom.xml              |  5 +++--
 examples/xa-datasource/pom.xml                         |  5 +++--
 151 files changed, 462 insertions(+), 300 deletions(-)

diff --git a/deps/taglibs-shade/pom.xml b/deps/taglibs-shade/pom.xml
index 95ff9d4a44..cdd9d97cb6 100644
--- a/deps/taglibs-shade/pom.xml
+++ b/deps/taglibs-shade/pom.xml
@@ -157,8 +157,9 @@
         <configuration>
           <select>taglibs-shade-.*\.jar</select>
           <transformSources>false</transformSources>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
         <executions>
           <execution>
diff --git a/examples/access-timeout-meta/pom.xml 
b/examples/access-timeout-meta/pom.xml
index 361e0108bb..61a74fd214 100644
--- a/examples/access-timeout-meta/pom.xml
+++ b/examples/access-timeout-meta/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/access-timeout/pom.xml b/examples/access-timeout/pom.xml
index e7e9f61997..44b8033094 100644
--- a/examples/access-timeout/pom.xml
+++ b/examples/access-timeout/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/activemq-multiple-brokers/pom.xml 
b/examples/activemq-multiple-brokers/pom.xml
index ab6f2ce50a..65b3d83df1 100644
--- a/examples/activemq-multiple-brokers/pom.xml
+++ b/examples/activemq-multiple-brokers/pom.xml
@@ -37,8 +37,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/alternate-descriptors/pom.xml 
b/examples/alternate-descriptors/pom.xml
index b90d7d5188..7a57fb2b7d 100644
--- a/examples/alternate-descriptors/pom.xml
+++ b/examples/alternate-descriptors/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/application-composer/pom.xml 
b/examples/application-composer/pom.xml
index c0bc640ec7..bb90b849d8 100644
--- a/examples/application-composer/pom.xml
+++ b/examples/application-composer/pom.xml
@@ -35,8 +35,8 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/applicationcomposer-jaxws-cdi/pom.xml 
b/examples/applicationcomposer-jaxws-cdi/pom.xml
index 0b6364ae8b..2c51164058 100644
--- a/examples/applicationcomposer-jaxws-cdi/pom.xml
+++ b/examples/applicationcomposer-jaxws-cdi/pom.xml
@@ -33,8 +33,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/applicationexception/pom.xml 
b/examples/applicationexception/pom.xml
index c5ff9b0663..d84d12446c 100644
--- a/examples/applicationexception/pom.xml
+++ b/examples/applicationexception/pom.xml
@@ -35,8 +35,8 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/async-methods/pom.xml b/examples/async-methods/pom.xml
index 27a584d205..a6138cf1f3 100644
--- a/examples/async-methods/pom.xml
+++ b/examples/async-methods/pom.xml
@@ -35,8 +35,8 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
         </configuration>
       </plugin>
       
diff --git a/examples/async-postconstruct/pom.xml 
b/examples/async-postconstruct/pom.xml
index 18d40305e7..684ef9bab8 100644
--- a/examples/async-postconstruct/pom.xml
+++ b/examples/async-postconstruct/pom.xml
@@ -35,8 +35,8 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
         </configuration>
       </plugin>
       
diff --git a/examples/async-servlet/pom.xml b/examples/async-servlet/pom.xml
index c90590b59a..d42f49d7f7 100644
--- a/examples/async-servlet/pom.xml
+++ b/examples/async-servlet/pom.xml
@@ -83,8 +83,8 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/bean-validation-design-by-contract/pom.xml 
b/examples/bean-validation-design-by-contract/pom.xml
index 26a6b3c163..d779814e22 100644
--- a/examples/bean-validation-design-by-contract/pom.xml
+++ b/examples/bean-validation-design-by-contract/pom.xml
@@ -34,8 +34,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/bval-evaluation-redeployment/WebApp1/pom.xml 
b/examples/bval-evaluation-redeployment/WebApp1/pom.xml
index c45cfac82f..ca567d4280 100644
--- a/examples/bval-evaluation-redeployment/WebApp1/pom.xml
+++ b/examples/bval-evaluation-redeployment/WebApp1/pom.xml
@@ -44,8 +44,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
           <compilerArguments>
             <endorseddirs>${endorsed.dir}</endorseddirs>
           </compilerArguments>
diff --git a/examples/bval-evaluation-redeployment/WebApp2/pom.xml 
b/examples/bval-evaluation-redeployment/WebApp2/pom.xml
index 3ad8bcbf76..9a0b211445 100644
--- a/examples/bval-evaluation-redeployment/WebApp2/pom.xml
+++ b/examples/bval-evaluation-redeployment/WebApp2/pom.xml
@@ -44,8 +44,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
           <compilerArguments>
             <endorseddirs>${endorsed.dir}</endorseddirs>
           </compilerArguments>
diff --git a/examples/cdi-alternative-and-stereotypes/pom.xml 
b/examples/cdi-alternative-and-stereotypes/pom.xml
index 9048843622..5ca2593836 100644
--- a/examples/cdi-alternative-and-stereotypes/pom.xml
+++ b/examples/cdi-alternative-and-stereotypes/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/cdi-application-scope/pom.xml 
b/examples/cdi-application-scope/pom.xml
index 9449d602fb..55a2707b4e 100644
--- a/examples/cdi-application-scope/pom.xml
+++ b/examples/cdi-application-scope/pom.xml
@@ -23,8 +23,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/cdi-basic/pom.xml b/examples/cdi-basic/pom.xml
index a05e4b2c38..7a325be63a 100644
--- a/examples/cdi-basic/pom.xml
+++ b/examples/cdi-basic/pom.xml
@@ -34,8 +34,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/cdi-dynamic-inject/pom.xml 
b/examples/cdi-dynamic-inject/pom.xml
index 786bb06263..1ce2d14567 100644
--- a/examples/cdi-dynamic-inject/pom.xml
+++ b/examples/cdi-dynamic-inject/pom.xml
@@ -34,8 +34,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/cdi-ejbcontext-jaas/pom.xml 
b/examples/cdi-ejbcontext-jaas/pom.xml
index df89ba12f6..685fc85871 100644
--- a/examples/cdi-ejbcontext-jaas/pom.xml
+++ b/examples/cdi-ejbcontext-jaas/pom.xml
@@ -46,8 +46,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/cdi-events/pom.xml b/examples/cdi-events/pom.xml
index 2b3cda73be..79a5172511 100644
--- a/examples/cdi-events/pom.xml
+++ b/examples/cdi-events/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/cdi-interceptors/pom.xml 
b/examples/cdi-interceptors/pom.xml
index 185386b10f..507adab991 100644
--- a/examples/cdi-interceptors/pom.xml
+++ b/examples/cdi-interceptors/pom.xml
@@ -29,8 +29,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/cdi-produces-disposes/pom.xml 
b/examples/cdi-produces-disposes/pom.xml
index f31ef444bc..83d41bf628 100644
--- a/examples/cdi-produces-disposes/pom.xml
+++ b/examples/cdi-produces-disposes/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/cdi-produces-field/pom.xml 
b/examples/cdi-produces-field/pom.xml
index b78264e241..7f0139e5ff 100644
--- a/examples/cdi-produces-field/pom.xml
+++ b/examples/cdi-produces-field/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/cdi-qualifier/pom.xml b/examples/cdi-qualifier/pom.xml
index 8fe59a810d..8414902aa9 100644
--- a/examples/cdi-qualifier/pom.xml
+++ b/examples/cdi-qualifier/pom.xml
@@ -34,8 +34,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/cdi-realm/pom.xml b/examples/cdi-realm/pom.xml
index 90b4504937..712e544b6b 100644
--- a/examples/cdi-realm/pom.xml
+++ b/examples/cdi-realm/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/cdi-request-scope/pom.xml 
b/examples/cdi-request-scope/pom.xml
index c67512d6d3..85735bcbdb 100644
--- a/examples/cdi-request-scope/pom.xml
+++ b/examples/cdi-request-scope/pom.xml
@@ -23,8 +23,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/cdi-session-scope/pom.xml 
b/examples/cdi-session-scope/pom.xml
index bfee4470d8..82a52fd87f 100644
--- a/examples/cdi-session-scope/pom.xml
+++ b/examples/cdi-session-scope/pom.xml
@@ -28,8 +28,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/change-jaxws-url/pom.xml 
b/examples/change-jaxws-url/pom.xml
index ee11351e14..dc129d20f2 100644
--- a/examples/change-jaxws-url/pom.xml
+++ b/examples/change-jaxws-url/pom.xml
@@ -50,8 +50,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/client-resource-lookup-preview/pom.xml 
b/examples/client-resource-lookup-preview/pom.xml
index 701f7e515a..7ccbacfe04 100644
--- a/examples/client-resource-lookup-preview/pom.xml
+++ b/examples/client-resource-lookup-preview/pom.xml
@@ -33,8 +33,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/cloud-tomee-azure/pom.xml 
b/examples/cloud-tomee-azure/pom.xml
index 008688c182..7385723a20 100644
--- a/examples/cloud-tomee-azure/pom.xml
+++ b/examples/cloud-tomee-azure/pom.xml
@@ -42,8 +42,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/component-interfaces/pom.xml 
b/examples/component-interfaces/pom.xml
index 1782a96fd1..0862cab1e4 100644
--- a/examples/component-interfaces/pom.xml
+++ b/examples/component-interfaces/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/concurrency-utils/pom.xml 
b/examples/concurrency-utils/pom.xml
index d3b9c66ff0..c053213e52 100644
--- a/examples/concurrency-utils/pom.xml
+++ b/examples/concurrency-utils/pom.xml
@@ -67,8 +67,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
 
diff --git a/examples/custom-injection/pom.xml 
b/examples/custom-injection/pom.xml
index 17ff887246..cb2fc8672f 100644
--- a/examples/custom-injection/pom.xml
+++ b/examples/custom-injection/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/datasource-ciphered-password/pom.xml 
b/examples/datasource-ciphered-password/pom.xml
index acce4ee074..b21d04100f 100644
--- a/examples/datasource-ciphered-password/pom.xml
+++ b/examples/datasource-ciphered-password/pom.xml
@@ -34,8 +34,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/datasource-definition/pom.xml 
b/examples/datasource-definition/pom.xml
index c8f8f955f6..c0bd1b94e4 100644
--- a/examples/datasource-definition/pom.xml
+++ b/examples/datasource-definition/pom.xml
@@ -59,8 +59,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
           <compilerArguments>
             <endorseddirs>${annotations.endorsed}</endorseddirs>
           </compilerArguments>
diff --git a/examples/datasource-versioning/pom.xml 
b/examples/datasource-versioning/pom.xml
index de27b3f776..c52135838d 100644
--- a/examples/datasource-versioning/pom.xml
+++ b/examples/datasource-versioning/pom.xml
@@ -37,8 +37,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/decorators/pom.xml b/examples/decorators/pom.xml
index 94612d1f8d..48de044ab3 100644
--- a/examples/decorators/pom.xml
+++ b/examples/decorators/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/dynamic-dao-implementation/pom.xml 
b/examples/dynamic-dao-implementation/pom.xml
index d8dc04ea36..598ce9a528 100644
--- a/examples/dynamic-dao-implementation/pom.xml
+++ b/examples/dynamic-dao-implementation/pom.xml
@@ -34,8 +34,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/dynamic-datasource-routing/pom.xml 
b/examples/dynamic-datasource-routing/pom.xml
index 4705156885..9970c16c86 100644
--- a/examples/dynamic-datasource-routing/pom.xml
+++ b/examples/dynamic-datasource-routing/pom.xml
@@ -34,8 +34,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/dynamic-implementation/pom.xml 
b/examples/dynamic-implementation/pom.xml
index 4686404fa8..5542e332da 100644
--- a/examples/dynamic-implementation/pom.xml
+++ b/examples/dynamic-implementation/pom.xml
@@ -33,8 +33,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/dynamic-proxy-to-access-mbean/pom.xml 
b/examples/dynamic-proxy-to-access-mbean/pom.xml
index 3c1522459f..f9fdae7c8a 100644
--- a/examples/dynamic-proxy-to-access-mbean/pom.xml
+++ b/examples/dynamic-proxy-to-access-mbean/pom.xml
@@ -33,8 +33,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/ejb-examples/pom.xml b/examples/ejb-examples/pom.xml
index a7491c8da2..8dc2c9225c 100644
--- a/examples/ejb-examples/pom.xml
+++ b/examples/ejb-examples/pom.xml
@@ -47,8 +47,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/ejb-remote-call-2/pom.xml 
b/examples/ejb-remote-call-2/pom.xml
index 9d478a44c7..fd5431526d 100644
--- a/examples/ejb-remote-call-2/pom.xml
+++ b/examples/ejb-remote-call-2/pom.xml
@@ -55,8 +55,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/ejb-remote-call/pom.xml b/examples/ejb-remote-call/pom.xml
index 00309ccc88..86ad37a67f 100644
--- a/examples/ejb-remote-call/pom.xml
+++ b/examples/ejb-remote-call/pom.xml
@@ -55,8 +55,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/ejb-webservice/pom.xml b/examples/ejb-webservice/pom.xml
index eb8231a7d7..be73b4c688 100644
--- a/examples/ejb-webservice/pom.xml
+++ b/examples/ejb-webservice/pom.xml
@@ -55,8 +55,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/groovy-cdi/pom.xml b/examples/groovy-cdi/pom.xml
index 4eb7bef423..515fb64705 100644
--- a/examples/groovy-cdi/pom.xml
+++ b/examples/groovy-cdi/pom.xml
@@ -34,8 +34,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/groovy-jpa/pom.xml b/examples/groovy-jpa/pom.xml
index 8e7f6a0ad5..93cd06a3ea 100644
--- a/examples/groovy-jpa/pom.xml
+++ b/examples/groovy-jpa/pom.xml
@@ -40,8 +40,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/helloworld-weblogic/pom.xml 
b/examples/helloworld-weblogic/pom.xml
index 1d7757cf4f..85dd4c9df5 100644
--- a/examples/helloworld-weblogic/pom.xml
+++ b/examples/helloworld-weblogic/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/injection-of-connectionfactory/pom.xml 
b/examples/injection-of-connectionfactory/pom.xml
index 5775a3d03f..d79e0e883a 100644
--- a/examples/injection-of-connectionfactory/pom.xml
+++ b/examples/injection-of-connectionfactory/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/injection-of-datasource/pom.xml 
b/examples/injection-of-datasource/pom.xml
index e8fcf9e365..089bd2af1d 100644
--- a/examples/injection-of-datasource/pom.xml
+++ b/examples/injection-of-datasource/pom.xml
@@ -37,8 +37,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
     </plugins>
diff --git a/examples/injection-of-ejbs/pom.xml 
b/examples/injection-of-ejbs/pom.xml
index 86887c689c..161a27f5ee 100644
--- a/examples/injection-of-ejbs/pom.xml
+++ b/examples/injection-of-ejbs/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/injection-of-entitymanager/pom.xml 
b/examples/injection-of-entitymanager/pom.xml
index c5f3c970cd..c7a71a3fb0 100644
--- a/examples/injection-of-entitymanager/pom.xml
+++ b/examples/injection-of-entitymanager/pom.xml
@@ -37,8 +37,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/injection-of-env-entry/pom.xml 
b/examples/injection-of-env-entry/pom.xml
index 92e21e35ee..98442dc27b 100644
--- a/examples/injection-of-env-entry/pom.xml
+++ b/examples/injection-of-env-entry/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/interceptors/pom.xml b/examples/interceptors/pom.xml
index 2cd840658a..a1035bb918 100644
--- a/examples/interceptors/pom.xml
+++ b/examples/interceptors/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/javamail-velocity/pom.xml 
b/examples/javamail-velocity/pom.xml
index b7ed24fc9c..ab31848de1 100644
--- a/examples/javamail-velocity/pom.xml
+++ b/examples/javamail-velocity/pom.xml
@@ -34,8 +34,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
           <annotationProcessorPaths>
             <path>
               <groupId>org.projectlombok</groupId>
diff --git a/examples/jaxrs-json-provider-jettison/pom.xml 
b/examples/jaxrs-json-provider-jettison/pom.xml
index b650f49f3e..32c10c9f6f 100644
--- a/examples/jaxrs-json-provider-jettison/pom.xml
+++ b/examples/jaxrs-json-provider-jettison/pom.xml
@@ -95,8 +95,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/jpa-enumerated/pom.xml b/examples/jpa-enumerated/pom.xml
index a3611325f0..5ceaceb263 100644
--- a/examples/jpa-enumerated/pom.xml
+++ b/examples/jpa-enumerated/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/jsf-cdi-and-ejb/pom.xml b/examples/jsf-cdi-and-ejb/pom.xml
index 6e63c71e34..1a46ff9c1f 100644
--- a/examples/jsf-cdi-and-ejb/pom.xml
+++ b/examples/jsf-cdi-and-ejb/pom.xml
@@ -37,8 +37,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/jsonb-configuration/pom.xml 
b/examples/jsonb-configuration/pom.xml
index ce4dcbe849..d2e57c2b09 100644
--- a/examples/jsonb-configuration/pom.xml
+++ b/examples/jsonb-configuration/pom.xml
@@ -62,8 +62,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/jsonb-custom-serializer/pom.xml 
b/examples/jsonb-custom-serializer/pom.xml
index 3ab1772698..0ab0b8b84d 100644
--- a/examples/jsonb-custom-serializer/pom.xml
+++ b/examples/jsonb-custom-serializer/pom.xml
@@ -62,8 +62,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/lookup-of-ejbs-with-descriptor/pom.xml 
b/examples/lookup-of-ejbs-with-descriptor/pom.xml
index 4687f6b120..ef5d35bd8e 100644
--- a/examples/lookup-of-ejbs-with-descriptor/pom.xml
+++ b/examples/lookup-of-ejbs-with-descriptor/pom.xml
@@ -38,8 +38,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/lookup-of-ejbs/pom.xml b/examples/lookup-of-ejbs/pom.xml
index 2eece5b90b..cf73a7cda2 100644
--- a/examples/lookup-of-ejbs/pom.xml
+++ b/examples/lookup-of-ejbs/pom.xml
@@ -38,8 +38,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/moviefun/pom.xml b/examples/moviefun/pom.xml
index 322551ff88..e6c8c9018a 100644
--- a/examples/moviefun/pom.xml
+++ b/examples/moviefun/pom.xml
@@ -79,8 +79,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/movies-complete-meta/pom.xml 
b/examples/movies-complete-meta/pom.xml
index 5389e3df40..51b63d1967 100644
--- a/examples/movies-complete-meta/pom.xml
+++ b/examples/movies-complete-meta/pom.xml
@@ -37,8 +37,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/movies-complete/pom.xml b/examples/movies-complete/pom.xml
index 59fa08b21c..d18ea1278a 100644
--- a/examples/movies-complete/pom.xml
+++ b/examples/movies-complete/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/mp-config-example/pom.xml 
b/examples/mp-config-example/pom.xml
index 37f45c73bc..e34daf2cac 100644
--- a/examples/mp-config-example/pom.xml
+++ b/examples/mp-config-example/pom.xml
@@ -81,8 +81,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/mp-config-source-database/pom.xml 
b/examples/mp-config-source-database/pom.xml
index 81499ff75f..1ff318d27d 100644
--- a/examples/mp-config-source-database/pom.xml
+++ b/examples/mp-config-source-database/pom.xml
@@ -109,8 +109,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/mp-jsonb-configuration/pom.xml 
b/examples/mp-jsonb-configuration/pom.xml
index 4589152e89..bc2230a49e 100644
--- a/examples/mp-jsonb-configuration/pom.xml
+++ b/examples/mp-jsonb-configuration/pom.xml
@@ -63,8 +63,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.7.0</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/mp-jwt-bean-validation-strongly-typed/pom.xml 
b/examples/mp-jwt-bean-validation-strongly-typed/pom.xml
index 2ada51bdb7..81a824b214 100644
--- a/examples/mp-jwt-bean-validation-strongly-typed/pom.xml
+++ b/examples/mp-jwt-bean-validation-strongly-typed/pom.xml
@@ -55,8 +55,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/mp-jwt-bean-validation/pom.xml 
b/examples/mp-jwt-bean-validation/pom.xml
index c829ab6262..77d17847f6 100644
--- a/examples/mp-jwt-bean-validation/pom.xml
+++ b/examples/mp-jwt-bean-validation/pom.xml
@@ -55,8 +55,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/mp-metrics-gauge/pom.xml 
b/examples/mp-metrics-gauge/pom.xml
index 237152d7f2..e57874dd2b 100644
--- a/examples/mp-metrics-gauge/pom.xml
+++ b/examples/mp-metrics-gauge/pom.xml
@@ -82,8 +82,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/mp-openapi-reader/pom.xml 
b/examples/mp-openapi-reader/pom.xml
index 3ca1d27f11..62be08d6d5 100644
--- a/examples/mp-openapi-reader/pom.xml
+++ b/examples/mp-openapi-reader/pom.xml
@@ -110,8 +110,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
 
diff --git a/examples/mp-rest-client/pom.xml b/examples/mp-rest-client/pom.xml
index d6405ab870..8d5f50c709 100644
--- a/examples/mp-rest-client/pom.xml
+++ b/examples/mp-rest-client/pom.xml
@@ -98,8 +98,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/mp-rest-jwt-jwk/pom.xml b/examples/mp-rest-jwt-jwk/pom.xml
index 740e3cfc04..e4c8a681dd 100644
--- a/examples/mp-rest-jwt-jwk/pom.xml
+++ b/examples/mp-rest-jwt-jwk/pom.xml
@@ -53,8 +53,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/mp-rest-jwt-principal/pom.xml 
b/examples/mp-rest-jwt-principal/pom.xml
index 754da410f2..7def160c94 100644
--- a/examples/mp-rest-jwt-principal/pom.xml
+++ b/examples/mp-rest-jwt-principal/pom.xml
@@ -53,8 +53,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/mp-rest-jwt-public-key/pom.xml 
b/examples/mp-rest-jwt-public-key/pom.xml
index 7f2267230d..7d997f2ee7 100644
--- a/examples/mp-rest-jwt-public-key/pom.xml
+++ b/examples/mp-rest-jwt-public-key/pom.xml
@@ -59,8 +59,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/mtom/pom.xml b/examples/mtom/pom.xml
index 130e7e8d5d..501d42e095 100644
--- a/examples/mtom/pom.xml
+++ b/examples/mtom/pom.xml
@@ -41,8 +41,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/multiple-arquillian-adapters/pom.xml 
b/examples/multiple-arquillian-adapters/pom.xml
index f2d77fbd99..41c987b517 100644
--- a/examples/multiple-arquillian-adapters/pom.xml
+++ b/examples/multiple-arquillian-adapters/pom.xml
@@ -36,8 +36,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/multiple-tomee-arquillian/pom.xml 
b/examples/multiple-tomee-arquillian/pom.xml
index ad521a1463..4eda66c1e7 100644
--- a/examples/multiple-tomee-arquillian/pom.xml
+++ b/examples/multiple-tomee-arquillian/pom.xml
@@ -41,8 +41,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/persistence-fragment/pom.xml 
b/examples/persistence-fragment/pom.xml
index 62eb5382f8..e58ec1f1cd 100644
--- a/examples/persistence-fragment/pom.xml
+++ b/examples/persistence-fragment/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/pojo-webservice/pom.xml b/examples/pojo-webservice/pom.xml
index f7e81ebc1c..02a0edecf6 100644
--- a/examples/pojo-webservice/pom.xml
+++ b/examples/pojo-webservice/pom.xml
@@ -50,8 +50,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/polling-parent/polling-web/pom.xml 
b/examples/polling-parent/polling-web/pom.xml
index 8a58f13021..574a6f768c 100644
--- a/examples/polling-parent/polling-web/pom.xml
+++ b/examples/polling-parent/polling-web/pom.xml
@@ -78,8 +78,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.5.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/polling-parent/pom.xml b/examples/polling-parent/pom.xml
index d4397e9a7e..5aea80b0a2 100644
--- a/examples/polling-parent/pom.xml
+++ b/examples/polling-parent/pom.xml
@@ -38,8 +38,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.5.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/realm-in-tomee/pom.xml b/examples/realm-in-tomee/pom.xml
index 34e971357c..6642dad684 100644
--- a/examples/realm-in-tomee/pom.xml
+++ b/examples/realm-in-tomee/pom.xml
@@ -34,8 +34,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/reload-persistence-unit-properties/pom.xml 
b/examples/reload-persistence-unit-properties/pom.xml
index 423422f6f3..be3b2c9d64 100644
--- a/examples/reload-persistence-unit-properties/pom.xml
+++ b/examples/reload-persistence-unit-properties/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/resources-declared-in-webapp/pom.xml 
b/examples/resources-declared-in-webapp/pom.xml
index 06bb058455..b20b13225a 100644
--- a/examples/resources-declared-in-webapp/pom.xml
+++ b/examples/resources-declared-in-webapp/pom.xml
@@ -49,8 +49,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/rest-applicationcomposer-mockito/pom.xml 
b/examples/rest-applicationcomposer-mockito/pom.xml
index fc95f139b8..7a098123e6 100644
--- a/examples/rest-applicationcomposer-mockito/pom.xml
+++ b/examples/rest-applicationcomposer-mockito/pom.xml
@@ -38,8 +38,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
     </plugins>
diff --git a/examples/rest-applicationcomposer/pom.xml 
b/examples/rest-applicationcomposer/pom.xml
index 84a4add660..54514c0aa6 100644
--- a/examples/rest-applicationcomposer/pom.xml
+++ b/examples/rest-applicationcomposer/pom.xml
@@ -34,8 +34,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/rest-cdi/pom.xml b/examples/rest-cdi/pom.xml
index ee69285032..4effa63049 100644
--- a/examples/rest-cdi/pom.xml
+++ b/examples/rest-cdi/pom.xml
@@ -33,8 +33,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/rest-example-with-application/pom.xml 
b/examples/rest-example-with-application/pom.xml
index 9e888c20cc..0be7944e2a 100644
--- a/examples/rest-example-with-application/pom.xml
+++ b/examples/rest-example-with-application/pom.xml
@@ -49,8 +49,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/rest-example/pom.xml b/examples/rest-example/pom.xml
index 1a14111cc0..b776bf6c81 100644
--- a/examples/rest-example/pom.xml
+++ b/examples/rest-example/pom.xml
@@ -51,8 +51,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/rest-jaas/pom.xml b/examples/rest-jaas/pom.xml
index fe3ee132a5..24c3b743f8 100644
--- a/examples/rest-jaas/pom.xml
+++ b/examples/rest-jaas/pom.xml
@@ -39,8 +39,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/rest-on-ejb/pom.xml b/examples/rest-on-ejb/pom.xml
index 4ac5b019c9..4966ace064 100644
--- a/examples/rest-on-ejb/pom.xml
+++ b/examples/rest-on-ejb/pom.xml
@@ -36,8 +36,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/rest-sse-example/pom.xml 
b/examples/rest-sse-example/pom.xml
index cefe66d19c..db4d700331 100644
--- a/examples/rest-sse-example/pom.xml
+++ b/examples/rest-sse-example/pom.xml
@@ -50,8 +50,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.5.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/rest-xml-json/pom.xml b/examples/rest-xml-json/pom.xml
index 308f3a74b1..da1aba3a70 100644
--- a/examples/rest-xml-json/pom.xml
+++ b/examples/rest-xml-json/pom.xml
@@ -33,8 +33,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/scala-basic/pom.xml b/examples/scala-basic/pom.xml
index 5955bc02c7..d174cca535 100644
--- a/examples/scala-basic/pom.xml
+++ b/examples/scala-basic/pom.xml
@@ -45,8 +45,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <!-- compile scala sources -->
diff --git a/examples/schedule-events/pom.xml b/examples/schedule-events/pom.xml
index 5e1e37acbc..2d661a1cb2 100644
--- a/examples/schedule-events/pom.xml
+++ b/examples/schedule-events/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/schedule-expression/pom.xml 
b/examples/schedule-expression/pom.xml
index e719a1f09f..f93c9c34ee 100644
--- a/examples/schedule-expression/pom.xml
+++ b/examples/schedule-expression/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/schedule-methods-meta/pom.xml 
b/examples/schedule-methods-meta/pom.xml
index 18d2848996..dff7345da5 100644
--- a/examples/schedule-methods-meta/pom.xml
+++ b/examples/schedule-methods-meta/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/schedule-methods/pom.xml 
b/examples/schedule-methods/pom.xml
index 4e509bc2e8..6aa2ba2222 100644
--- a/examples/schedule-methods/pom.xml
+++ b/examples/schedule-methods/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/security-custom-identitystore/pom.xml 
b/examples/security-custom-identitystore/pom.xml
index 7a734776f1..312ad40e94 100644
--- a/examples/security-custom-identitystore/pom.xml
+++ b/examples/security-custom-identitystore/pom.xml
@@ -57,8 +57,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
     </plugins>
diff --git a/examples/security-openid/pom.xml b/examples/security-openid/pom.xml
index e85adf2ec8..fd3d9d0a9e 100644
--- a/examples/security-openid/pom.xml
+++ b/examples/security-openid/pom.xml
@@ -33,6 +33,23 @@
         <arquillian.version>1.10.0.Final</arquillian.version>
         
<testcontainers-keycloak.version>3.9.0</testcontainers-keycloak.version>
     </properties>
+
+    <build>
+        <defaultGoal>install</defaultGoal>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>3.14.1</version>
+                <configuration>
+                    <source>17</source>
+                    <target>17</target>
+                    <release>17</release>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
     <dependencies>
         <dependency>
             <groupId>org.apache.tomee</groupId>
diff --git a/examples/security-tomcat-user-identitystore/pom.xml 
b/examples/security-tomcat-user-identitystore/pom.xml
index 5f0102a51c..57138ac647 100644
--- a/examples/security-tomcat-user-identitystore/pom.xml
+++ b/examples/security-tomcat-user-identitystore/pom.xml
@@ -49,8 +49,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
     </plugins>
diff --git a/examples/server-events/pom.xml b/examples/server-events/pom.xml
index 46f6c3c6b0..f181ab0615 100644
--- a/examples/server-events/pom.xml
+++ b/examples/server-events/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/serverless-builder/pom.xml 
b/examples/serverless-builder/pom.xml
index afeb37135f..be2ea10292 100644
--- a/examples/serverless-builder/pom.xml
+++ b/examples/serverless-builder/pom.xml
@@ -49,8 +49,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
     </plugins>
diff --git a/examples/serverless-tomee-microprofile/pom.xml 
b/examples/serverless-tomee-microprofile/pom.xml
index 0942e66e14..5800988fa9 100644
--- a/examples/serverless-tomee-microprofile/pom.xml
+++ b/examples/serverless-tomee-microprofile/pom.xml
@@ -49,8 +49,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
     </plugins>
diff --git a/examples/serverless-tomee-plume/pom.xml 
b/examples/serverless-tomee-plume/pom.xml
index 4496788359..f50818f910 100644
--- a/examples/serverless-tomee-plume/pom.xml
+++ b/examples/serverless-tomee-plume/pom.xml
@@ -49,8 +49,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
     </plugins>
diff --git a/examples/serverless-tomee-plus/pom.xml 
b/examples/serverless-tomee-plus/pom.xml
index b0dc094840..91d660c23f 100644
--- a/examples/serverless-tomee-plus/pom.xml
+++ b/examples/serverless-tomee-plus/pom.xml
@@ -49,8 +49,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
     </plugins>
diff --git a/examples/serverless-tomee-webprofile/pom.xml 
b/examples/serverless-tomee-webprofile/pom.xml
index efe4509e73..78ff0541e3 100644
--- a/examples/serverless-tomee-webprofile/pom.xml
+++ b/examples/serverless-tomee-webprofile/pom.xml
@@ -48,8 +48,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
     </plugins>
diff --git a/examples/simple-cdi-interceptor/pom.xml 
b/examples/simple-cdi-interceptor/pom.xml
index d3b00ece50..49f72d4a9a 100644
--- a/examples/simple-cdi-interceptor/pom.xml
+++ b/examples/simple-cdi-interceptor/pom.xml
@@ -29,8 +29,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/simple-cmp2/pom.xml b/examples/simple-cmp2/pom.xml
index 56ea3e5868..308b7ef7e7 100644
--- a/examples/simple-cmp2/pom.xml
+++ b/examples/simple-cmp2/pom.xml
@@ -36,8 +36,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/simple-jms-context/pom.xml 
b/examples/simple-jms-context/pom.xml
index 0fdf906f5a..951a8bf2ae 100644
--- a/examples/simple-jms-context/pom.xml
+++ b/examples/simple-jms-context/pom.xml
@@ -65,8 +65,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/simple-jms/pom.xml b/examples/simple-jms/pom.xml
index 7622003dd3..89bfd7e0b0 100644
--- a/examples/simple-jms/pom.xml
+++ b/examples/simple-jms/pom.xml
@@ -62,8 +62,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/simple-mdb-and-cdi/pom.xml 
b/examples/simple-mdb-and-cdi/pom.xml
index 1f713bb925..8d4e5a5bad 100644
--- a/examples/simple-mdb-and-cdi/pom.xml
+++ b/examples/simple-mdb-and-cdi/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/simple-mdb-with-descriptor/pom.xml 
b/examples/simple-mdb-with-descriptor/pom.xml
index 0f76c6bcf1..a391cc2413 100644
--- a/examples/simple-mdb-with-descriptor/pom.xml
+++ b/examples/simple-mdb-with-descriptor/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/simple-mdb/pom.xml b/examples/simple-mdb/pom.xml
index 6198351962..9550fec51a 100644
--- a/examples/simple-mdb/pom.xml
+++ b/examples/simple-mdb/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/simple-remote-tomcatusers/pom.xml 
b/examples/simple-remote-tomcatusers/pom.xml
index 946383ad17..e3cc328d4d 100644
--- a/examples/simple-remote-tomcatusers/pom.xml
+++ b/examples/simple-remote-tomcatusers/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/simple-rest/pom.xml b/examples/simple-rest/pom.xml
index 0b91bd7844..76d786d744 100644
--- a/examples/simple-rest/pom.xml
+++ b/examples/simple-rest/pom.xml
@@ -33,8 +33,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/simple-singleton/pom.xml 
b/examples/simple-singleton/pom.xml
index 9bc7744809..5e37c6ee57 100644
--- a/examples/simple-singleton/pom.xml
+++ b/examples/simple-singleton/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/simple-stateful-callbacks/pom.xml 
b/examples/simple-stateful-callbacks/pom.xml
index 361908a77e..c9e4a71881 100644
--- a/examples/simple-stateful-callbacks/pom.xml
+++ b/examples/simple-stateful-callbacks/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/simple-stateful/pom.xml b/examples/simple-stateful/pom.xml
index 07e0652316..a90722dab7 100644
--- a/examples/simple-stateful/pom.xml
+++ b/examples/simple-stateful/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/simple-stateless-callbacks/pom.xml 
b/examples/simple-stateless-callbacks/pom.xml
index 54a9a00367..f601ab061e 100644
--- a/examples/simple-stateless-callbacks/pom.xml
+++ b/examples/simple-stateless-callbacks/pom.xml
@@ -37,8 +37,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
     </plugins>
diff --git a/examples/simple-stateless-with-descriptor/pom.xml 
b/examples/simple-stateless-with-descriptor/pom.xml
index 5b0d1db31c..22fe565db8 100644
--- a/examples/simple-stateless-with-descriptor/pom.xml
+++ b/examples/simple-stateless-with-descriptor/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/simple-stateless/pom.xml 
b/examples/simple-stateless/pom.xml
index 8644ca3962..bbf64c283a 100644
--- a/examples/simple-stateless/pom.xml
+++ b/examples/simple-stateless/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/simple-webservice-without-interface/pom.xml 
b/examples/simple-webservice-without-interface/pom.xml
index b5b39bd242..7874b1836e 100644
--- a/examples/simple-webservice-without-interface/pom.xml
+++ b/examples/simple-webservice-without-interface/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/simple-webservice/pom.xml 
b/examples/simple-webservice/pom.xml
index 637a6c480a..1e237f2e58 100644
--- a/examples/simple-webservice/pom.xml
+++ b/examples/simple-webservice/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/singleton-startup-ordering/pom.xml 
b/examples/singleton-startup-ordering/pom.xml
index 7c8ce69ca9..4376c74b6a 100644
--- a/examples/singleton-startup-ordering/pom.xml
+++ b/examples/singleton-startup-ordering/pom.xml
@@ -84,8 +84,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/struts/pom.xml b/examples/struts/pom.xml
index 1ccf8d62a2..f5bac66d12 100644
--- a/examples/struts/pom.xml
+++ b/examples/struts/pom.xml
@@ -63,8 +63,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/telephone-stateful/pom.xml 
b/examples/telephone-stateful/pom.xml
index 14742256d3..b2f85848b2 100644
--- a/examples/telephone-stateful/pom.xml
+++ b/examples/telephone-stateful/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/testcase-injection/pom.xml 
b/examples/testcase-injection/pom.xml
index 27a74f628a..d5eed4517d 100644
--- a/examples/testcase-injection/pom.xml
+++ b/examples/testcase-injection/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/testing-security-2/pom.xml 
b/examples/testing-security-2/pom.xml
index 1e90b954d5..04427f5699 100644
--- a/examples/testing-security-2/pom.xml
+++ b/examples/testing-security-2/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/testing-security-3/pom.xml 
b/examples/testing-security-3/pom.xml
index a3db544503..2a6498cd48 100644
--- a/examples/testing-security-3/pom.xml
+++ b/examples/testing-security-3/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/testing-security-4/pom.xml 
b/examples/testing-security-4/pom.xml
index ce2bede5b8..e56d24693e 100644
--- a/examples/testing-security-4/pom.xml
+++ b/examples/testing-security-4/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/testing-security-meta/pom.xml 
b/examples/testing-security-meta/pom.xml
index 90881c0706..32e57f7624 100644
--- a/examples/testing-security-meta/pom.xml
+++ b/examples/testing-security-meta/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/testing-security/pom.xml 
b/examples/testing-security/pom.xml
index 1db7d856a3..e4df58f715 100644
--- a/examples/testing-security/pom.xml
+++ b/examples/testing-security/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/testing-transactions-bmt/pom.xml 
b/examples/testing-transactions-bmt/pom.xml
index bcf7e19e42..a6fb57a8e1 100644
--- a/examples/testing-transactions-bmt/pom.xml
+++ b/examples/testing-transactions-bmt/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/testing-transactions/pom.xml 
b/examples/testing-transactions/pom.xml
index b18bf14b7b..3c74e39a2c 100644
--- a/examples/testing-transactions/pom.xml
+++ b/examples/testing-transactions/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/tomee-jersey-eclipselink/pom.xml 
b/examples/tomee-jersey-eclipselink/pom.xml
index 82bdaafcc9..dc57f3d5f1 100644
--- a/examples/tomee-jersey-eclipselink/pom.xml
+++ b/examples/tomee-jersey-eclipselink/pom.xml
@@ -131,8 +131,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.5.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/tomee-jms-portability/pom.xml 
b/examples/tomee-jms-portability/pom.xml
index 40439c2f97..ddd6f5115a 100644
--- a/examples/tomee-jms-portability/pom.xml
+++ b/examples/tomee-jms-portability/pom.xml
@@ -34,8 +34,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/transaction-rollback/pom.xml 
b/examples/transaction-rollback/pom.xml
index f2ad928114..593f4096f8 100644
--- a/examples/transaction-rollback/pom.xml
+++ b/examples/transaction-rollback/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/troubleshooting/pom.xml b/examples/troubleshooting/pom.xml
index 2383468dd9..96891d1012 100644
--- a/examples/troubleshooting/pom.xml
+++ b/examples/troubleshooting/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/webservice-attachments/pom.xml 
b/examples/webservice-attachments/pom.xml
index 215d8df7f8..0045534817 100644
--- a/examples/webservice-attachments/pom.xml
+++ b/examples/webservice-attachments/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/webservice-handlerchain/pom.xml 
b/examples/webservice-handlerchain/pom.xml
index f94b2e50f7..13215a0af0 100644
--- a/examples/webservice-handlerchain/pom.xml
+++ b/examples/webservice-handlerchain/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/webservice-holder/pom.xml 
b/examples/webservice-holder/pom.xml
index aefdacdee1..f0797dad27 100644
--- a/examples/webservice-holder/pom.xml
+++ b/examples/webservice-holder/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/webservice-inheritance/pom.xml 
b/examples/webservice-inheritance/pom.xml
index f9ffcb9d05..8291ffded5 100644
--- a/examples/webservice-inheritance/pom.xml
+++ b/examples/webservice-inheritance/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/webservice-security/pom.xml 
b/examples/webservice-security/pom.xml
index 22a408ea93..074d023eee 100644
--- a/examples/webservice-security/pom.xml
+++ b/examples/webservice-security/pom.xml
@@ -35,8 +35,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/webservice-ws-security/pom.xml 
b/examples/webservice-ws-security/pom.xml
index d8e812999a..67e3a8c88a 100644
--- a/examples/webservice-ws-security/pom.xml
+++ b/examples/webservice-ws-security/pom.xml
@@ -88,8 +88,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/webservice-ws-with-resources-config/pom.xml 
b/examples/webservice-ws-with-resources-config/pom.xml
index f6eef51b7b..c611671df4 100644
--- a/examples/webservice-ws-with-resources-config/pom.xml
+++ b/examples/webservice-ws-with-resources-config/pom.xml
@@ -61,8 +61,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/websocket-jms/pom.xml b/examples/websocket-jms/pom.xml
index 03b6db40d4..0e9cb01494 100644
--- a/examples/websocket-jms/pom.xml
+++ b/examples/websocket-jms/pom.xml
@@ -38,8 +38,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/websocket-tls-basic-auth/pom.xml 
b/examples/websocket-tls-basic-auth/pom.xml
index d1f76168fa..fd156e0a95 100644
--- a/examples/websocket-tls-basic-auth/pom.xml
+++ b/examples/websocket-tls-basic-auth/pom.xml
@@ -89,8 +89,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       
diff --git a/examples/xa-datasource/pom.xml b/examples/xa-datasource/pom.xml
index f0ff704200..c18cf02e23 100644
--- a/examples/xa-datasource/pom.xml
+++ b/examples/xa-datasource/pom.xml
@@ -38,8 +38,9 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
+          <release>17</release>
         </configuration>
       </plugin>
       <plugin>


Reply via email to