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

commit a61d57c257228fd4d31fba32b616e453041c93e6
Author: Richard Zowalla <[email protected]>
AuthorDate: Fri May 22 15:40:42 2026 +0200

    examples: set Java compiler target to 17
    
    TomEE 11 requires Java 17. Bump the Java source/target/release (and
    maven.compiler.* properties) from 1.8 / 11 to 17 in examples that still
    pinned an older level.
---
 examples/arquillian-jpa/pom.xml                      | 4 ++--
 examples/async-servlet/pom.xml                       | 4 ++--
 examples/bval-evaluation-redeployment/runner/pom.xml | 4 ++--
 examples/connector-ear/pom.xml                       | 4 ++--
 examples/connector-war/pom.xml                       | 4 ++--
 examples/cucumber-jvm/pom.xml                        | 4 ++--
 examples/ear-testing/pom.xml                         | 4 ++--
 examples/java-modules/pom.xml                        | 4 ++--
 examples/javamail/pom.xml                            | 4 ++--
 examples/jaxrs-filter/pom.xml                        | 4 ++--
 examples/jpa-eclipselink/pom.xml                     | 4 ++--
 examples/jpa-hibernate-arquillian/pom.xml            | 4 ++--
 examples/jpa-hibernate/pom.xml                       | 4 ++--
 examples/junit5-application-composer/pom.xml         | 4 ++--
 examples/junit5-arquillian-multiple-tomee/pom.xml    | 4 ++--
 examples/junit5-arquillian-simple-websockets/pom.xml | 4 ++--
 examples/moviefun-rest/pom.xml                       | 4 ++--
 examples/mp-custom-healthcheck/pom.xml               | 4 ++--
 examples/multi-jpa-provider-testing/pom.xml          | 4 ++--
 examples/quartz-app/pom.xml                          | 4 ++--
 examples/resources-jmx-example/pom.xml               | 4 ++--
 examples/simple-ear/pom.xml                          | 4 ++--
 examples/webservice-ssl-client-cert/pom.xml          | 4 ++--
 23 files changed, 46 insertions(+), 46 deletions(-)

diff --git a/examples/arquillian-jpa/pom.xml b/examples/arquillian-jpa/pom.xml
index ffaaadfe94..66a45b7341 100644
--- a/examples/arquillian-jpa/pom.xml
+++ b/examples/arquillian-jpa/pom.xml
@@ -28,8 +28,8 @@ language governing permissions and limitations under the 
License. -->
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>11</source>
-          <target>11</target>
+          <source>17</source>
+          <target>17</target>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/async-servlet/pom.xml b/examples/async-servlet/pom.xml
index d42f49d7f7..ea35e17a31 100644
--- a/examples/async-servlet/pom.xml
+++ b/examples/async-servlet/pom.xml
@@ -24,8 +24,8 @@
   <name>TomEE :: Examples :: Async Servlet</name>
   <url>http://maven.apache.org</url>
   <properties>
-    <maven.compiler.source>1.8</maven.compiler.source>
-    <maven.compiler.target>1.8</maven.compiler.target>
+    <maven.compiler.source>17</maven.compiler.source>
+    <maven.compiler.target>17</maven.compiler.target>
     <version.arquillian>1.10.0.Final</version.arquillian>
     <version.graphene.webdriver>2.3.1</version.graphene.webdriver>
     <tomee.version>11.0.0-SNAPSHOT</tomee.version>
diff --git a/examples/bval-evaluation-redeployment/runner/pom.xml 
b/examples/bval-evaluation-redeployment/runner/pom.xml
index 3a0ca04c3f..3eccf13f20 100644
--- a/examples/bval-evaluation-redeployment/runner/pom.xml
+++ b/examples/bval-evaluation-redeployment/runner/pom.xml
@@ -54,7 +54,7 @@
     </dependency>
   </dependencies>
   <properties>
-    <maven.compiler.source>1.8</maven.compiler.source>
-    <maven.compiler.target>1.8</maven.compiler.target>
+    <maven.compiler.source>17</maven.compiler.source>
+    <maven.compiler.target>17</maven.compiler.target>
   </properties>
 </project>
diff --git a/examples/connector-ear/pom.xml b/examples/connector-ear/pom.xml
index 23e67970ad..e5638418d7 100644
--- a/examples/connector-ear/pom.xml
+++ b/examples/connector-ear/pom.xml
@@ -63,8 +63,8 @@
           <artifactId>maven-compiler-plugin</artifactId>
           <configuration>
             <optimize>true</optimize>
-            <source>1.8</source>
-            <target>1.8</target>
+            <source>17</source>
+            <target>17</target>
           </configuration>
         </plugin>
       </plugins>
diff --git a/examples/connector-war/pom.xml b/examples/connector-war/pom.xml
index 94b5f34b28..d4ed5d41e8 100644
--- a/examples/connector-war/pom.xml
+++ b/examples/connector-war/pom.xml
@@ -38,8 +38,8 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>11</source>
-          <target>11</target>
+          <source>17</source>
+          <target>17</target>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/cucumber-jvm/pom.xml b/examples/cucumber-jvm/pom.xml
index 511ad25479..bf39cfa6ff 100644
--- a/examples/cucumber-jvm/pom.xml
+++ b/examples/cucumber-jvm/pom.xml
@@ -34,8 +34,8 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>11</source>
-          <target>11</target>
+          <source>17</source>
+          <target>17</target>
         </configuration>
       </plugin>
       
diff --git a/examples/ear-testing/pom.xml b/examples/ear-testing/pom.xml
index 91cda9c10f..7ec48d9cfd 100644
--- a/examples/ear-testing/pom.xml
+++ b/examples/ear-testing/pom.xml
@@ -47,8 +47,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/java-modules/pom.xml b/examples/java-modules/pom.xml
index 1988f08599..758a21e78d 100644
--- a/examples/java-modules/pom.xml
+++ b/examples/java-modules/pom.xml
@@ -50,8 +50,8 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>11</source>
-          <target>11</target>
+          <source>17</source>
+          <target>17</target>
         </configuration>
       </plugin>
       
diff --git a/examples/javamail/pom.xml b/examples/javamail/pom.xml
index 6695dc0cda..346a1dcab2 100644
--- a/examples/javamail/pom.xml
+++ b/examples/javamail/pom.xml
@@ -34,8 +34,8 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>11</source>
-          <target>11</target>
+          <source>17</source>
+          <target>17</target>
         </configuration>
       </plugin>
       
diff --git a/examples/jaxrs-filter/pom.xml b/examples/jaxrs-filter/pom.xml
index 1d2da607c0..b69d7dffc5 100644
--- a/examples/jaxrs-filter/pom.xml
+++ b/examples/jaxrs-filter/pom.xml
@@ -40,8 +40,8 @@
     <finalName>jaxrs-filter</finalName>
   </build>
   <properties>
-    <maven.compiler.source>1.8</maven.compiler.source>
-    <maven.compiler.target>1.8</maven.compiler.target>
+    <maven.compiler.source>17</maven.compiler.source>
+    <maven.compiler.target>17</maven.compiler.target>
   </properties>
   <!--
   This section allows you to configure where to publish libraries for sharing.
diff --git a/examples/jpa-eclipselink/pom.xml b/examples/jpa-eclipselink/pom.xml
index eff9cf4b43..4949b93025 100644
--- a/examples/jpa-eclipselink/pom.xml
+++ b/examples/jpa-eclipselink/pom.xml
@@ -37,8 +37,8 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>11</source>
-          <target>11</target>
+          <source>17</source>
+          <target>17</target>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/jpa-hibernate-arquillian/pom.xml 
b/examples/jpa-hibernate-arquillian/pom.xml
index c2f564fac0..d58a697c22 100644
--- a/examples/jpa-hibernate-arquillian/pom.xml
+++ b/examples/jpa-hibernate-arquillian/pom.xml
@@ -36,8 +36,8 @@
                 <artifactId>maven-compiler-plugin</artifactId>
                 <version>3.14.1</version>
                 <configuration>
-                    <source>11</source>
-                    <target>11</target>
+                    <source>17</source>
+                    <target>17</target>
                 </configuration>
             </plugin>
         </plugins>
diff --git a/examples/jpa-hibernate/pom.xml b/examples/jpa-hibernate/pom.xml
index 9f6170c04f..27a256eb3b 100644
--- a/examples/jpa-hibernate/pom.xml
+++ b/examples/jpa-hibernate/pom.xml
@@ -35,8 +35,8 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>11</source>
-          <target>11</target>
+          <source>17</source>
+          <target>17</target>
         </configuration>
       </plugin>
     </plugins>
diff --git a/examples/junit5-application-composer/pom.xml 
b/examples/junit5-application-composer/pom.xml
index b7f7939a8f..9dbcc90278 100644
--- a/examples/junit5-application-composer/pom.xml
+++ b/examples/junit5-application-composer/pom.xml
@@ -35,8 +35,8 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>11</source>
-          <target>11</target>
+          <source>17</source>
+          <target>17</target>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/junit5-arquillian-multiple-tomee/pom.xml 
b/examples/junit5-arquillian-multiple-tomee/pom.xml
index 3f6fd8f3f3..fece9749aa 100644
--- a/examples/junit5-arquillian-multiple-tomee/pom.xml
+++ b/examples/junit5-arquillian-multiple-tomee/pom.xml
@@ -45,8 +45,8 @@
                 <artifactId>maven-compiler-plugin</artifactId>
                 <version>3.14.1</version>
                 <configuration>
-                    <source>11</source>
-                    <target>11</target>
+                    <source>17</source>
+                    <target>17</target>
                 </configuration>
             </plugin>
             <plugin>
diff --git a/examples/junit5-arquillian-simple-websockets/pom.xml 
b/examples/junit5-arquillian-simple-websockets/pom.xml
index de2a1be4db..863ebb35f1 100644
--- a/examples/junit5-arquillian-simple-websockets/pom.xml
+++ b/examples/junit5-arquillian-simple-websockets/pom.xml
@@ -47,8 +47,8 @@
                 <artifactId>maven-compiler-plugin</artifactId>
                 <version>3.14.1</version>
                 <configuration>
-                    <source>11</source>
-                    <target>11</target>
+                    <source>17</source>
+                    <target>17</target>
                 </configuration>
             </plugin>
             <plugin>
diff --git a/examples/moviefun-rest/pom.xml b/examples/moviefun-rest/pom.xml
index 717a623a83..b11fe69203 100644
--- a/examples/moviefun-rest/pom.xml
+++ b/examples/moviefun-rest/pom.xml
@@ -92,8 +92,8 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>11</source>
-          <target>11</target>
+          <source>17</source>
+          <target>17</target>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/mp-custom-healthcheck/pom.xml 
b/examples/mp-custom-healthcheck/pom.xml
index 6e3b0f0bd0..889cde2dc5 100644
--- a/examples/mp-custom-healthcheck/pom.xml
+++ b/examples/mp-custom-healthcheck/pom.xml
@@ -29,8 +29,8 @@
     <maven-war-plugin.version>3.5.0</maven-war-plugin.version>
     <jakartaee-api.version>11.0.0-SNAPSHOT</jakartaee-api.version>
     <junit.version>4.13.2</junit.version>
-    <maven.compiler.source>1.8</maven.compiler.source>
-    <maven.compiler.target>1.8</maven.compiler.target>
+    <maven.compiler.source>17</maven.compiler.source>
+    <maven.compiler.target>17</maven.compiler.target>
     <tomee.version>11.0.0-SNAPSHOT</tomee.version>
   </properties>
   <dependencies>
diff --git a/examples/multi-jpa-provider-testing/pom.xml 
b/examples/multi-jpa-provider-testing/pom.xml
index 7b75d10ede..4395e48b0c 100644
--- a/examples/multi-jpa-provider-testing/pom.xml
+++ b/examples/multi-jpa-provider-testing/pom.xml
@@ -35,8 +35,8 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>11</source>
-          <target>11</target>
+          <source>17</source>
+          <target>17</target>
         </configuration>
       </plugin>
       <plugin>
diff --git a/examples/quartz-app/pom.xml b/examples/quartz-app/pom.xml
index 6974c05ae3..4c47108ec7 100644
--- a/examples/quartz-app/pom.xml
+++ b/examples/quartz-app/pom.xml
@@ -47,8 +47,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/resources-jmx-example/pom.xml 
b/examples/resources-jmx-example/pom.xml
index f7e41022a7..4a465a5a12 100644
--- a/examples/resources-jmx-example/pom.xml
+++ b/examples/resources-jmx-example/pom.xml
@@ -54,8 +54,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/simple-ear/pom.xml b/examples/simple-ear/pom.xml
index f7624148ca..c3869d52af 100644
--- a/examples/simple-ear/pom.xml
+++ b/examples/simple-ear/pom.xml
@@ -57,8 +57,8 @@
           <artifactId>maven-compiler-plugin</artifactId>
           <version>3.14.1</version>
           <configuration>
-            <source>11</source>
-            <target>11</target>
+            <source>17</source>
+            <target>17</target>
           </configuration>
         </plugin>
         <plugin>
diff --git a/examples/webservice-ssl-client-cert/pom.xml 
b/examples/webservice-ssl-client-cert/pom.xml
index 231f4135af..08038c1893 100644
--- a/examples/webservice-ssl-client-cert/pom.xml
+++ b/examples/webservice-ssl-client-cert/pom.xml
@@ -35,8 +35,8 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>3.14.1</version>
         <configuration>
-          <source>11</source>
-          <target>11</target>
+          <source>17</source>
+          <target>17</target>
         </configuration>
       </plugin>
       <plugin>

Reply via email to