fileSystemResolver.setCheckmodified(true);
resolver = fileSystemResolver;
}
if (type.equalsIgnoreCase("http")) {
URLResolver urlResolver = new URLResolver();
urlResolver.setName(repName);
if (get(options, "descriptor", String.class) != null) {
urlResolver.addIvyPattern(get(options, "descriptor", String.class));
}
if (get(options, "artifact", String.class) != null) {
urlResolver.addArtifactPattern(get(options, "artifact", String.class));
}
urlResolver.getRepository().addTransferListener(logger);
resolver = urlResolver;
}
if (type.equalsIgnoreCase("chain")) {
ChainResolver chainResolver = new ChainResolver();