mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 00:45:44 +01:00
fix usage of AuthenticationSelector
This commit is contained in:
@@ -82,8 +82,6 @@ public class AetherPluginHandler
|
||||
|
||||
//~--- constructors ---------------------------------------------------------
|
||||
|
||||
private final AdvancedPluginConfiguration advancedPluginConfiguration;
|
||||
|
||||
/**
|
||||
* Constructs ...
|
||||
*
|
||||
@@ -92,9 +90,11 @@ public class AetherPluginHandler
|
||||
* @param pluginManager
|
||||
* @param context
|
||||
* @param configuration
|
||||
* @param advancedPluginConfiguration
|
||||
*/
|
||||
public AetherPluginHandler(PluginManager pluginManager,
|
||||
SCMContextProvider context, ScmConfiguration configuration, AdvancedPluginConfiguration advancedPluginConfiguration)
|
||||
SCMContextProvider context, ScmConfiguration configuration,
|
||||
AdvancedPluginConfiguration advancedPluginConfiguration)
|
||||
{
|
||||
this.pluginManager = pluginManager;
|
||||
this.configuration = configuration;
|
||||
@@ -127,7 +127,7 @@ public class AetherPluginHandler
|
||||
logger.error("could not read classpath file", ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
IOUtil.mkdirs(localRepositoryDirectory);
|
||||
repositorySystem = Aether.createRepositorySystem();
|
||||
localRepository = new LocalRepository(localRepositoryDirectory);
|
||||
@@ -198,9 +198,12 @@ public class AetherPluginHandler
|
||||
{
|
||||
try
|
||||
{
|
||||
AetherDependencyResolver resolver =
|
||||
new AetherDependencyResolver(configuration, repositorySystem,
|
||||
localRepository, remoteRepositories);
|
||||
//J-
|
||||
AetherDependencyResolver resolver = new AetherDependencyResolver(
|
||||
configuration, advancedPluginConfiguration, repositorySystem,
|
||||
localRepository, remoteRepositories
|
||||
);
|
||||
//J+
|
||||
|
||||
resolver.resolveDependencies(dependency, localDependencies);
|
||||
|
||||
@@ -340,6 +343,9 @@ public class AetherPluginHandler
|
||||
|
||||
//~--- fields ---------------------------------------------------------------
|
||||
|
||||
/** Field description */
|
||||
private final AdvancedPluginConfiguration advancedPluginConfiguration;
|
||||
|
||||
/** Field description */
|
||||
private Classpath classpath;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user