Skip to content

Commit 568c4d9

Browse files
Update pom.xml
1 parent 11e9e19 commit 568c4d9

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

pom.xml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
<properties>
1515
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
1616
<project.reporting.outputEncoding>utf-8</project.reporting.outputEncoding>
17+
<maven.compiler.source>17</maven.compiler.source>
18+
<maven.compiler.target>17</maven.compiler.target>
1719
</properties>
1820

1921
<modules>
@@ -32,10 +34,12 @@
3234
<build>
3335
<plugins>
3436
<plugin>
37+
<groupId>org.apache.maven.plugins</groupId>
3538
<artifactId>maven-compiler-plugin</artifactId>
39+
<version>3.8.1</version> <!-- Use a more recent version -->
3640
<configuration>
37-
<source>1.6</source>
38-
<target>1.6</target>
41+
<source>${maven.compiler.source}</source> <!-- Use property -->
42+
<target>${maven.compiler.target}</target> <!-- Use property -->
3943
</configuration>
4044
</plugin>
4145

@@ -93,7 +97,7 @@
9397

9498
<plugin>
9599
<artifactId>maven-compiler-plugin</artifactId>
96-
<version>2.3.2</version>
100+
<version>3.8.1</version> <!-- Updated version -->
97101
</plugin>
98102

99103
<plugin>

0 commit comments

Comments
 (0)