debug("Local repo: " + localRepo);
final boolean offline = "".equals(System.getProperty(PROP_OFFLINE)) || Boolean.parseBoolean(System.getProperty(PROP_OFFLINE));
debug("Offline: " + offline);
final DependencyManager dm = new DependencyManager(localRepo.toAbsolutePath(), repositories, reset, offline);
return dm;
} catch (NoClassDefFoundError e) {
throw new RuntimeException("Jar " + jar.getName()
+ " specifies dependencies, while the necessary dependency management classes are not found in the jar");