else
return mgr.getProgressIndicator();
}
public static Library findLibrary(final Project pProject, final Artifact pDependency) {
final LibraryTablesRegistrar libTableMgr = LibraryTablesRegistrar.getInstance();
final LibraryTable libTable = libTableMgr.getLibraryTable(pProject);
String libName = pDependency.toString();
Library lib = libTable.getLibraryByName(libName);
if (lib == null) {
String type = pDependency.getType();