PluginResolutionServiceResolver createPluginResolutionServiceResolver(PluginResolutionServiceClient pluginResolutionServiceClient, VersionSelectorScheme versionSelectorScheme,
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.");
}
};