Skip to content

Commit 141f4e6

Browse files
committed
Update compiler plugin
Also use release configuration instead of source/target
1 parent 5fd50d0 commit 141f4e6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pom.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@
4242

4343
<properties>
4444
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
45-
<maven.compiler.source>11</maven.compiler.source>
46-
<maven.compiler.target>11</maven.compiler.target>
45+
<maven.compiler.release>11</maven.compiler.release>
4746
</properties>
4847

4948
<dependencies>
@@ -74,6 +73,11 @@
7473
</resource>
7574
</resources>
7675
<plugins>
76+
<plugin>
77+
<groupId>org.apache.maven.plugins</groupId>
78+
<artifactId>maven-compiler-plugin</artifactId>
79+
<version>3.10.1</version>
80+
</plugin>
7781
<plugin>
7882
<groupId>org.apache.maven.plugins</groupId>
7983
<artifactId>maven-jar-plugin</artifactId>

0 commit comments

Comments
 (0)