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 08eeeb269..57b3c61ee 100644
--- a/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java
+++ b/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java
@@ -432,21 +432,28 @@ final Charset charset() {
*
* @see #debuglevel
* @see javac -g
+ *
+ * @deprecated Setting this flag to {@code false} is replaced by {@code
If debug level is not specified, then the {@code -g} option will not be added, * which means that the default debugging information will be generated - * (typically {@code lines} and {@code source} but not {@code vars}). - * If {@link #debug} is turned off, this attribute will be ignored. + * (typically {@code lines} and {@code source} but not {@code vars}).
+ * + *If debug level is {@code all}, then only the {@code -g} option is added, + * which means that all debugging information will be generated. + * If debug level is anything else, then the comma-separated list of keywords + * is appended to the {@code -g} command-line switch.
* - * @see #debug - * @see javac -G:[lines,vars,source] + * @see javac -g:[lines,vars,source] * @since 2.1 */ @Parameter(property = "maven.compiler.debuglevel")