public void resolve(final File directory, String configuration, Collection<Dependency> dependencies) {
filterDependencies(Collections.singleton(configuration), dependencies, resolveQueue);
while (resolveQueue.peek() != null) {
final ConfigurationContext context = resolveQueue.poll();
final Dependency dependency = context.getDependency();
final Group group = dependency.getGroup();
final UnresolvedArtifact unresolved = dependency.getArtifact();
final Artifact resolveArtifact = repository.lookup(transport, group, unresolved);
logger.info("Resolved %s -> %s", unresolved, resolveArtifact);