You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[MCOMPILER-529] Update docs about version schema (Maven 3)
This PR updates several parts of the documentation for Maven 3 based on JDK 8 and aligns the docs to the new Java version schema. In particular on the front page it's mentioned that "8" is the default, where in the code it's actual "1.8" - but I wanted to keep docs consistent here.
Copy file name to clipboardexpand all lines: src/site/apt/index.apt.vm
+8-12
Original file line number
Diff line number
Diff line change
@@ -29,20 +29,16 @@
29
29
${project.name}
30
30
31
31
The Compiler Plugin is used to compile the sources of your project. The
32
-
default compiler used to compile Java sources is javax.tools.JavaCompiler.
33
-
If you want to force the plugin to use <<<javac>>>, you must configure the plugin option {{{./compile-mojo.html#forceJavacCompilerUse}<<<forceJavacCompilerUse>>>}}.
32
+
default compiler used to compile Java sources is <<<javac>>>.
33
+
If you want to use another compiler, refer to the {{{./non-javac-compilers} guide: Using Non-Javac Compilers}}.
34
34
35
-
Also note that at present the default <<<source>>> setting is <<<1.8>>> and the default <<<target>>>
36
-
setting is <<<1.8>>>, independently of the JDK you run Maven with.
37
-
You are highly encouraged to change these defaults by setting <<<source>>> and <<<target>>>
38
-
as described in
39
-
{{{./examples/set-compiler-source-and-target.html}Setting the -source and -target of the Java Compiler}}.
40
-
41
-
Other compilers than <<<javac>>> can be used and work has already started
42
-
on AspectJ, .NET, and C#.
35
+
At present the default <<<source>>> and the default <<<target>>> setting are both <<<8>>>,
36
+
independently of the JDK you run Maven with.
37
+
You are highly encouraged to change these defaults by setting the <<<release>>> option as described in the
38
+
{{{./examples/set-compiler-release.html}guide: Compile Using The <<<--release>>> javac Option}}.
43
39
44
40
<<NOTE:>> <To know more about the JDK javac, please see:
0 commit comments