in src/main/java/org/apache/jackrabbit/filevault/maven/packaging/mojo/CheckSignatureMojo.java [173:195]
private Collection<File> getEmbeddeds() throws MojoFailureException {
Set<File> files = new HashSet<>();
for (Embedded emb : embeddeds) {
final Collection<Artifact> artifacts = emb.getMatchingArtifacts(project);
if (artifacts.isEmpty()) {
if (failOnMissingEmbed) {
throw new MojoFailureException(
"Embedded artifact specified "
+ emb
+ ", but no matching dependency artifact found. Add the missing dependency or fix the embed definition.");
} else {
getLog().warn("No matching artifacts for " + emb);
continue;
}
}
for (Artifact artifact : artifacts) {
final File source = artifact.getFile();
files.add(source);
}
}
return files;
}