dad.getUrl(), dad.getExtraAttributes()));
}
// and now we filter according to include rules
for (Iterator it = includes.iterator(); it.hasNext();) {
IncludeRule dad = (IncludeRule)it.next();
Collection arts = findArtifactsMatching(dad, allArtifacts);
if (arts.isEmpty()) {
Message.error("a required artifact is not listed by module descriptor: "+dad.getId());
// we remove it from required list to prevent message to be displayed more than once
it.remove();
} else {
Message.debug(this+" in "+rootModuleConf+": including "+arts);
artifacts.addAll(arts);