if (confs == null || (confs.length == 1 && "*".equals(confs[0]))) {
try {
File ivyFile = getCache().getResolvedIvyFileInCache(mrid);
Message.verbose("no explicit confs given for retrieve, using ivy file: " + ivyFile);
URL ivySource = ivyFile.toURI().toURL();
URLResource res = new URLResource(ivySource);
ModuleDescriptorParser parser = ModuleDescriptorParserRegistry.getInstance()
.getParser(res);
Message.debug("using " + parser + " to parse " + ivyFile);
ModuleDescriptor md = parser.parseDescriptor(settings, ivySource, false);
confs = md.getConfigurationsNames();