Skip to content

Commit dd368b7

Browse files
authored
set maven compiler source and target to 11 and use property values in the maven-complier-plugin (#823)
1 parent 9cb1085 commit dd368b7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
<changelist>-SNAPSHOT</changelist>
4444
<java.version>11</java.version>
4545
<junit.jupiter.version>5.7.1</junit.jupiter.version>
46-
<maven.compiler.source>1.8</maven.compiler.source>
47-
<maven.compiler.target>1.8</maven.compiler.target>
46+
<maven.compiler.source>11</maven.compiler.source>
47+
<maven.compiler.target>11</maven.compiler.target>
4848
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4949
<revision>0.0.1</revision>
5050
<sha1></sha1>
@@ -469,8 +469,8 @@
469469
<artifactId>maven-compiler-plugin</artifactId>
470470
<version>3.8.1</version>
471471
<configuration>
472-
<source>11</source>
473-
<target>11</target>
472+
<source>${maven.compiler.source}</source>
473+
<target>${maven.compiler.target}</target>
474474
</configuration>
475475
</plugin>
476476
<plugin>

0 commit comments

Comments
 (0)