in src/main/java/org/apache/maven/plugins/help/DescribeMojo.java [799:813]
private static void append(StringBuilder sb, String key, String value, int indent)
throws MojoFailureException, MojoExecutionException {
if (key == null || key.isEmpty()) {
throw new IllegalArgumentException("Key is required!");
}
if (value == null || value.isEmpty()) {
value = UNKNOWN;
}
String description = key + ": " + value;
for (String line : toLines(description, indent, INDENT_SIZE, LINE_LENGTH)) {
sb.append(line).append(LS);
}
}