From 985b34ddf8d0d73107b8747bb9556333351d14df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotrek=20=C5=BBygie=C5=82o?= Date: Sat, 5 Feb 2022 13:02:53 +0100 Subject: [PATCH] (doc) Fix typo and follow xml block style used for other parameters --- .../plugin/compiler/AbstractCompilerMojo.java | 29 ++++++++++--------- 1 file changed, 15 insertions(+), 14 deletions(-) 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>
      *
-     *    
-     *        
-     *            1.8
-     *            zulu
-     *        
-     *        ...
-     *    }
+     * <configuration>
+     *   <jdkToolchain>
+     *     <version>1.8</version>
+     *     <vendor>zulu</vendor>
+     *   </jdkToolchain>
+     *   ...
+     * </configuration>
      * 
* note: requires at least Maven 3.3.1 *