Skip to content

Commit 1abf8db

Browse files
authored
[#4848] changed JDK1.8 to JDK17 (#4850)
1 parent 59ebf69 commit 1abf8db

File tree

5 files changed

+14
-14
lines changed
  • archetypes
    • business-service-jaxrs/src/main/resources/archetype-resources
    • business-service-pojo/src/main/resources/archetype-resources
    • business-service-springmvc/src/main/resources/archetype-resources
  • spring-boot/spring-boot-starters

5 files changed

+14
-14
lines changed

archetypes/business-service-jaxrs/src/main/resources/archetype-resources/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@
117117
<artifactId>maven-compiler-plugin</artifactId>
118118
<version>${maven-compiler-plugin.version}</version>
119119
<configuration>
120-
<source>1.8</source>
121-
<target>1.8</target>
120+
<source>17</source>
121+
<target>17</target>
122122
</configuration>
123123
</plugin>
124124
</plugins>

archetypes/business-service-pojo/src/main/resources/archetype-resources/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@
110110
<artifactId>maven-compiler-plugin</artifactId>
111111
<version>${maven-compiler-plugin.version}</version>
112112
<configuration>
113-
<source>1.8</source>
114-
<target>1.8</target>
113+
<source>17</source>
114+
<target>17</target>
115115
</configuration>
116116
</plugin>
117117
</plugins>

archetypes/business-service-springmvc/src/main/resources/archetype-resources/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@
109109
<artifactId>maven-compiler-plugin</artifactId>
110110
<version>${maven-compiler-plugin.version}</version>
111111
<configuration>
112-
<source>1.8</source>
113-
<target>1.8</target>
112+
<source>17</source>
113+
<target>17</target>
114114
</configuration>
115115
</plugin>
116116
</plugins>

pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
<url>https://github.com/apache/servicecomb-java-chassis</url>
3838

3939
<properties>
40-
<maven.compiler.source>21</maven.compiler.source>
41-
<maven.compiler.target>21</maven.compiler.target>
40+
<maven.compiler.source>17</maven.compiler.source>
41+
<maven.compiler.target>17</maven.compiler.target>
4242
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
43-
<java.version>21</java.version>
43+
<java.version>17</java.version>
4444
<argLine>-Dfile.encoding=UTF-8</argLine>
4545
<skip-remote-resource>true</skip-remote-resource>
4646
<test.additional.args/>
@@ -403,8 +403,8 @@
403403
<version>${maven-compiler-plugin.version}</version>
404404
<configuration>
405405
<compilerArgument>-parameters</compilerArgument>
406-
<source>1.8</source>
407-
<target>1.8</target>
406+
<source>17</source>
407+
<target>17</target>
408408
<showDeprecation>true</showDeprecation>
409409
<showWarnings>true</showWarnings>
410410
<compilerArgs>
@@ -520,7 +520,7 @@
520520
</execution>
521521
</executions>
522522
<configuration>
523-
<source>1.8</source>
523+
<source>17</source>
524524
<tags>
525525
<tag>
526526
<!-- to avoid protostuff javadoc problem. -->

spring-boot/spring-boot-starters/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
<groupId>org.apache.maven.plugins</groupId>
4444
<artifactId>maven-compiler-plugin</artifactId>
4545
<configuration>
46-
<source>1.8</source>
47-
<target>1.8</target>
46+
<source>17</source>
47+
<target>17</target>
4848
</configuration>
4949
</plugin>
5050
</plugins>

0 commit comments

Comments
 (0)