You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mi...@apache.org on 2022/02/05 13:47:02 UTC
[maven-compiler-plugin] branch master updated: (doc) Fix typo and follow xml block style used for other parameters
This is an automated email from the ASF dual-hosted git repository.
michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new defecd0 (doc) Fix typo and follow xml block style used for other parameters
defecd0 is described below
commit defecd0b4cecfd8263cf42347f09d356a6d5dfde
Author: Piotrek Żygieło <pz...@users.noreply.github.com>
AuthorDate: Sat Feb 5 13:02:53 2022 +0100
(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 5b3b09c..99c263f 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
/**
* <p>
- * 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
* <a href="https://maven.apache.org/plugins/maven-toolchains-plugin/">maven-toolchain-plugin</a>.
* </p>
* (see <a href="https://maven.apache.org/guides/mini/guide-using-toolchains.html"> Guide to Toolchains</a> for more
* info)
*
- * <pre> {@code <configuration>
- * <jdkToolchain>
- * <version>11</version>
- * </jdkToolchain>
- * ...
- * </configuration>
+ * <pre>
+ * <configuration>
+ * <jdkToolchain>
+ * <version>11</version>
+ * </jdkToolchain>
+ * ...
+ * </configuration>
*
- * <configuration>
- * <jdkToolchain>
- * <version>1.8</version>
- * <vendor>zulu</vendor>
- * </jdkToolchain>
- * ...
- * </configuration>}
+ * <configuration>
+ * <jdkToolchain>
+ * <version>1.8</version>
+ * <vendor>zulu</vendor>
+ * </jdkToolchain>
+ * ...
+ * </configuration>
* </pre>
* <strong>note:</strong> requires at least Maven 3.3.1
*