diff --git a/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/PluginXdocGenerator.java b/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/PluginXdocGenerator.java index f3b33f0ebd..abb3103481 100644 --- a/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/PluginXdocGenerator.java +++ b/maven-plugin-tools/maven-plugin-tools-api/src/main/java/org/apache/maven/tools/plugin/generator/PluginXdocGenerator.java @@ -309,6 +309,12 @@ public class PluginXdocGenerator w.startElement( "th" ); + w.writeText( "Default Value" ); + + w.endElement(); // th + + w.startElement( "th" ); + w.writeText( "Description" ); w.endElement(); // th @@ -406,6 +412,27 @@ public class PluginXdocGenerator w.startElement( "td" ); + w.startElement( "code" ); + + if ( StringUtils.isNotEmpty( parameter.getDefaultValue() ) ) + { + w.writeText( parameter.getDefaultValue() ); + } + else + { + w.writeText( "-" ); + } + + w.endElement(); // code + + w.endElement(); // td + + // ---------------------------------------------------------------------- + // + // ---------------------------------------------------------------------- + + w.startElement( "td" ); + if ( StringUtils.isNotEmpty( parameter.getDescription() ) ) { w.writeMarkup( parameter.getDescription() );