Skip to content

Commit 1f21d3f

Browse files
committed
Set release instead of source/target for compiler plugin
Should fix : ``` 17:06:19 [WARNING] bootstrap class path not set in conjunction with -source 8 17:06:19 [WARNING] source value 8 is obsolete and will be removed in a future release 17:06:19 [WARNING] target value 8 is obsolete and will be removed in a future release 17:06:19 [WARNING] To suppress warnings about obsolete options, use -Xlint:-options. ``` in the build.
1 parent 1bfbe10 commit 1f21d3f

File tree

1 file changed

+1
-2
lines changed
  • org.eclipse.m2e.maven.runtime

1 file changed

+1
-2
lines changed

org.eclipse.m2e.maven.runtime/pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,7 @@
228228
<artifactId>maven-compiler-plugin</artifactId>
229229
<version>3.13.0</version>
230230
<configuration>
231-
<source>1.8</source>
232-
<target>1.8</target>
231+
<release>8</release>
233232
<proc>none</proc>
234233
</configuration>
235234
</plugin>

0 commit comments

Comments
 (0)