StartParameter startParameter, final DependencyManagementServices dependencyManagementServices,
final FileResolver fileResolver, final DependencyMetaDataProvider dependencyMetaDataProvider,
ClassLoaderScopeRegistry classLoaderScopeRegistry, PluginInspector pluginInspector) {
final ProjectFinder projectFinder = new ProjectFinder() {
public ProjectInternal getProject(String path) {
throw new UnknownProjectException("Cannot use project dependencies in a plugin resolution definition.");
}
};
return new PluginResolutionServiceResolver(pluginResolutionServiceClient, versionSelectorScheme, startParameter, classLoaderScopeRegistry.getCoreScope(), new Factory<DependencyResolutionServices>() {
public DependencyResolutionServices create() {