Skip to content

Commit defecd0

Browse files
pzygielomichael-o
authored andcommitted
(doc) Fix typo and follow xml block style used for other parameters
1 parent 408f0e3 commit defecd0

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java

+15-14
Original file line numberDiff line numberDiff line change
@@ -391,27 +391,28 @@ public abstract class AbstractCompilerMojo
391391

392392
/**
393393
* <p>
394-
* Specify the requirements for this jdk toolchain for using a different {@code javac} then the one of the JRE used
394+
* Specify the requirements for this jdk toolchain for using a different {@code javac} than the one of the JRE used
395395
* by Maven. This overrules the toolchain selected by the
396396
* <a href="https://maven.apache.org/plugins/maven-toolchains-plugin/">maven-toolchain-plugin</a>.
397397
* </p>
398398
* (see <a href="https://maven.apache.org/guides/mini/guide-using-toolchains.html"> Guide to Toolchains</a> for more
399399
* info)
400400
*
401-
* <pre> {@code <configuration>
402-
* <jdkToolchain>
403-
* <version>11</version>
404-
* </jdkToolchain>
405-
* ...
406-
* </configuration>
401+
* <pre>
402+
* &lt;configuration&gt;
403+
* &lt;jdkToolchain&gt;
404+
* &lt;version&gt;11&lt;/version&gt;
405+
* &lt;/jdkToolchain&gt;
406+
* ...
407+
* &lt;/configuration&gt;
407408
*
408-
* <configuration>
409-
* <jdkToolchain>
410-
* <version>1.8</version>
411-
* <vendor>zulu</vendor>
412-
* </jdkToolchain>
413-
* ...
414-
* </configuration>}
409+
* &lt;configuration&gt;
410+
* &lt;jdkToolchain&gt;
411+
* &lt;version&gt;1.8&lt;/version&gt;
412+
* &lt;vendor&gt;zulu&lt;/vendor&gt;
413+
* &lt;/jdkToolchain&gt;
414+
* ...
415+
* &lt;/configuration&gt;
415416
* </pre>
416417
* <strong>note:</strong> requires at least Maven 3.3.1
417418
*

0 commit comments

Comments
 (0)