for (URL url : moduleLibraries) {
uris.add(Util.toURI(url));
}
} else {
// non-standalone case, we need to look at other libraries too
ApplicationInfoProvider appInfoProvider = habitat.getComponent(ApplicationInfoProvider.class);
if (appInfoProvider != null) {
List<URL> libraryJars = appInfoProvider.getLibraryJars(context);
for (URL url : libraryJars) {
uris.add(Util.toURI(url));
}
}
}