in src/main/java/org/apache/maven/plugin/doap/DoapUtil.java [144:151]
public static void writeComment(XMLWriter writer, String comment) throws IllegalArgumentException {
if (comment == null || comment.isEmpty()) {
throw new IllegalArgumentException("comment should be defined");
}
XmlWriterUtil.writeLineBreak(writer);
XmlWriterUtil.writeCommentText(writer, comment, 2);
}