Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
Setting the Java version is documented here:
https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html
Proposal for improvement:
- Make this documentation more prominent. This should be documented on the "Usage" page.
In my experience, the Java version is set in every Maven project. Because the default version of 1.6 is quite old and the default version is also not obvious. - In the documentation, make -release as the preferred way to set the Java version >= 9. Keep the documentation of -source/-target for Java version <= 8
Attachments
Issue Links
- duplicates
-
MCOMPILER-419 doc, website - favour --release instead of -source and -target for jdk9+
- Closed