mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 14:35:45 +01:00
show installed plugins without internet connection, see #44
This commit is contained in:
@@ -58,7 +58,6 @@ import org.sonatype.aether.impl.VersionResolver;
|
||||
import org.sonatype.aether.impl.internal.DefaultServiceLocator;
|
||||
import org.sonatype.aether.repository.LocalRepository;
|
||||
import org.sonatype.aether.repository.Proxy;
|
||||
import org.sonatype.aether.repository.ProxySelector;
|
||||
import org.sonatype.aether.repository.RemoteRepository;
|
||||
import org.sonatype.aether.resolution.DependencyRequest;
|
||||
import org.sonatype.aether.spi.connector.RepositoryConnectorFactory;
|
||||
|
||||
@@ -558,13 +558,18 @@ public class DefaultPluginManager implements PluginManager
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw new PluginLoadException(ex);
|
||||
logger.error("could not load plugins from plugin center", ex);
|
||||
}
|
||||
finally
|
||||
{
|
||||
IOUtil.close(input);
|
||||
}
|
||||
}
|
||||
|
||||
if (center == null)
|
||||
{
|
||||
center = new PluginCenter();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user