Skip to content

Commit c5fce60

Browse files
committed
Use release flag
1 parent 788d757 commit c5fce60

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

pom.xml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
35

46
<modelVersion>4.0.0</modelVersion>
57

@@ -70,6 +72,8 @@
7072
<properties>
7173
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
7274
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
75+
76+
<java.release>8</java.release>
7377
<java.source>1.8</java.source>
7478

7579
<junit.jupiter.version>5.4.0</junit.jupiter.version>
@@ -169,8 +173,7 @@
169173
<artifactId>maven-compiler-plugin</artifactId>
170174
<version>3.8.0</version>
171175
<configuration>
172-
<source>${java.source}</source>
173-
<target>${java.source}</target>
176+
<release>${java.release}</release>
174177
</configuration>
175178
</plugin>
176179

@@ -220,9 +223,9 @@
220223
</plugin>
221224

222225
<plugin>
223-
<groupId>org.apache.maven.plugins</groupId>
224-
<artifactId>maven-surefire-plugin</artifactId>
225-
<version>3.0.0-M3</version>
226+
<groupId>org.apache.maven.plugins</groupId>
227+
<artifactId>maven-surefire-plugin</artifactId>
228+
<version>3.0.0-M3</version>
226229
</plugin>
227230

228231
<!-- others -->
@@ -275,6 +278,7 @@
275278
</execution>
276279
</executions>
277280
</plugin>
281+
278282
</plugins>
279283

280284
</build>

0 commit comments

Comments
 (0)