Skip to content

Commit f1c042f

Browse files
committed
For Java compilation, use release option instead of source/target to prevent prevents accidental use of APIs that might be available in JDK versions newer than the target release but are not present in the target release
1 parent 90bba7b commit f1c042f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@
9393
<artifactId>maven-compiler-plugin</artifactId>
9494
<version>3.14.1</version>
9595
<configuration>
96-
<source>1.8</source>
97-
<target>1.8</target>
96+
<release>8</release>
9897
<annotationProcessorPaths>
9998
<path>
10099
<groupId>org.eclipse.sisu</groupId>

0 commit comments

Comments
 (0)