} else {
DependencyResolver depResolver = settings.getResolver(resolver);
if (depResolver == null) {
throw new BuildException("Unknown resolver: " + resolver);
}
revisions = searcher.listModules(depResolver,
ModuleRevisionId.newInstance(organisation, module, branch, ".*"), patternMatcher);
}
ArtifactInfo[] infos = new ArtifactInfo[revisions.length];
for (int i = 0; i < revisions.length; i++) {