in src/main/java/org/apache/jackrabbit/filevault/maven/packaging/impl/ValidationMessagePrinter.java [146:169]
private static String getDetailMessage(ValidationViolation violation, Path baseDirectory) {
MessageBuilder builder = MessageUtils.buffer();
builder.strong("ValidationViolation: ");
builder.a(violation.getMessage());
if (violation.getFilePath() != null) {
builder.a(" @ ").strong(baseDirectory.relativize(violation.getAbsoluteFilePath()));
}
if (violation.getLine() > 0) {
builder.strong(", line ").strong(violation.getLine());
}
if (violation.getColumn() > 0) {
builder.strong(", column ").strong(violation.getColumn());
}
if (violation.getValidatorId() != null) {
builder.a(", validator: ").strong(violation.getValidatorId());
}
if (violation.getNodePath() != null) {
builder.a(", JCR node path: ").strong(violation.getNodePath());
}
if (violation.getThrowable() != null) {
builder.a(", Throwable: ").strong(violation.getThrowable().getMessage());
}
return builder.toString();
}