This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Description
We expect that maven during compilation will use 8 version of Java:
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<configuration combine.self="override">
<source>8</source>
<target>8</target>
</configuration>
</plugin>
But at the same time we use features from Java 11:
Files.readString(path);
...
Path.of(...);
I don't clearly understand why maven even build the project, but in my IDEA a see tons of warning and errors. Can we increase the version of Java for maven-compiler-plugin, at least to make it more clear?