ResolveOptions resolveOption = new ResolveOptions().setConfs(confs);
resolveOption.setValidate(ivy.getSettings().doValidate());
ResolveReport report = ivy.resolve(ivyFileLocation, resolveOption);
logger.log(NbBundle.getMessage(IvyFacade.class, "EndResolve"), Message.MSG_INFO);
AbstractLibraryParser libraryParser;
if (projectPreferences.isUseCachePath()) {
libraryParser = Lookup.getDefault().lookup(CachePathLibraryParser.class);
} else {
libraryParser = Lookup.getDefault().lookup(RetrievingLibraryParser.class);
}
logger.log(NbBundle.getMessage(IvyFacade.class, "StartLibrariesUpdate"), Message.MSG_INFO);
List<ParsedConfArtifacts> parsedArtifacts = libraryParser.parseArtifactsInReport(logger, ivy, report, projectPreferences, updater, subprojectProvider);
updater.update(projectPreferences, parsedArtifacts);
logger.log(NbBundle.getMessage(IvyFacade.class, "EndLibrariesUpdate"), Message.MSG_INFO);
} catch (IvyException ex) {
Exceptions.printStackTrace(ex);