diff --git a/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java b/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java index 5b3b09c7..99c263f8 100644 --- a/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java +++ b/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java @@ -391,27 +391,28 @@ public abstract class AbstractCompilerMojo /** *
- * Specify the requirements for this jdk toolchain for using a different {@code javac} then the one of the JRE used + * Specify the requirements for this jdk toolchain for using a different {@code javac} than the one of the JRE used * by Maven. This overrules the toolchain selected by the * maven-toolchain-plugin. *
* (see Guide to Toolchains for more * info) * - *{@code- * + *- * - * ... - *11 - *+ * <configuration> + * <jdkToolchain> + * <version>11</version> + * </jdkToolchain> + * ... + * </configuration> * - ** note: requires at least Maven 3.3.1 *- * } + * <configuration> + * <jdkToolchain> + * <version>1.8</version> + * <vendor>zulu</vendor> + * </jdkToolchain> + * ... + * </configuration> *- * - * ... - *1.8 - *zulu - *