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

liubao pushed a commit to branch 2.9.x
in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git


The following commit(s) were added to refs/heads/2.9.x by this push:
     new 1abf8db48 [#4848] changed JDK1.8 to JDK17 (#4850)
1abf8db48 is described below

commit 1abf8db4847ed77e311a78373cb86afa48f04b9b
Author: Alex <[email protected]>
AuthorDate: Thu Jun 19 16:24:56 2025 +0800

    [#4848] changed JDK1.8 to JDK17 (#4850)
---
 .../src/main/resources/archetype-resources/pom.xml           |  4 ++--
 .../src/main/resources/archetype-resources/pom.xml           |  4 ++--
 .../src/main/resources/archetype-resources/pom.xml           |  4 ++--
 pom.xml                                                      | 12 ++++++------
 spring-boot/spring-boot-starters/pom.xml                     |  4 ++--
 5 files changed, 14 insertions(+), 14 deletions(-)

diff --git 
a/archetypes/business-service-jaxrs/src/main/resources/archetype-resources/pom.xml
 
b/archetypes/business-service-jaxrs/src/main/resources/archetype-resources/pom.xml
index d2a9afc6e..a40257396 100644
--- 
a/archetypes/business-service-jaxrs/src/main/resources/archetype-resources/pom.xml
+++ 
b/archetypes/business-service-jaxrs/src/main/resources/archetype-resources/pom.xml
@@ -117,8 +117,8 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>${maven-compiler-plugin.version}</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
         </configuration>
       </plugin>
     </plugins>
diff --git 
a/archetypes/business-service-pojo/src/main/resources/archetype-resources/pom.xml
 
b/archetypes/business-service-pojo/src/main/resources/archetype-resources/pom.xml
index bf89cf21b..436c375be 100644
--- 
a/archetypes/business-service-pojo/src/main/resources/archetype-resources/pom.xml
+++ 
b/archetypes/business-service-pojo/src/main/resources/archetype-resources/pom.xml
@@ -110,8 +110,8 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>${maven-compiler-plugin.version}</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
         </configuration>
       </plugin>
     </plugins>
diff --git 
a/archetypes/business-service-springmvc/src/main/resources/archetype-resources/pom.xml
 
b/archetypes/business-service-springmvc/src/main/resources/archetype-resources/pom.xml
index f1d64085d..17a9dd58b 100644
--- 
a/archetypes/business-service-springmvc/src/main/resources/archetype-resources/pom.xml
+++ 
b/archetypes/business-service-springmvc/src/main/resources/archetype-resources/pom.xml
@@ -109,8 +109,8 @@
         <artifactId>maven-compiler-plugin</artifactId>
         <version>${maven-compiler-plugin.version}</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
         </configuration>
       </plugin>
     </plugins>
diff --git a/pom.xml b/pom.xml
index 03e5907ab..5394d940f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -37,10 +37,10 @@
   <url>https://github.com/apache/servicecomb-java-chassis</url>
 
   <properties>
-    <maven.compiler.source>21</maven.compiler.source>
-    <maven.compiler.target>21</maven.compiler.target>
+    <maven.compiler.source>17</maven.compiler.source>
+    <maven.compiler.target>17</maven.compiler.target>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    <java.version>21</java.version>
+    <java.version>17</java.version>
     <argLine>-Dfile.encoding=UTF-8</argLine>
     <skip-remote-resource>true</skip-remote-resource>
     <test.additional.args/>
@@ -403,8 +403,8 @@
           <version>${maven-compiler-plugin.version}</version>
           <configuration>
             <compilerArgument>-parameters</compilerArgument>
-            <source>1.8</source>
-            <target>1.8</target>
+            <source>17</source>
+            <target>17</target>
             <showDeprecation>true</showDeprecation>
             <showWarnings>true</showWarnings>
             <compilerArgs>
@@ -520,7 +520,7 @@
               </execution>
             </executions>
             <configuration>
-              <source>1.8</source>
+              <source>17</source>
               <tags>
                 <tag>
                   <!-- to avoid protostuff javadoc problem. -->
diff --git a/spring-boot/spring-boot-starters/pom.xml 
b/spring-boot/spring-boot-starters/pom.xml
index b317797e5..bcc480fde 100644
--- a/spring-boot/spring-boot-starters/pom.xml
+++ b/spring-boot/spring-boot-starters/pom.xml
@@ -43,8 +43,8 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>17</source>
+          <target>17</target>
         </configuration>
       </plugin>
     </plugins>

Reply via email to