}
return properties;
}
protected final Document[] selectedDocuments() throws MojoFailureException {
Selection selection = new Selection(basedir, includes, buildExcludes(), useDefaultExcludes);
debug("From: %s", basedir);
debug("Including: %s", deepToString(selection.getIncluded()));
debug("Excluding: %s", deepToString(selection.getExcluded()));
Document[] documents = new DocumentFactory(basedir, buildMapping(), buildHeaderDefinitions(), encoding)
.createDocuments(selection.getSelectedFiles());
for (Document document : documents) {
debug("Selected file: %s [header style: %s]", document.getFile(), document.getHeaderDefinition());
}
return documents;
}