Promise<List<OrderRoot>> (@NotNull Project project, JpsMavenRepositoryLibraryDescriptor desc, final Set<ArtifactKind> artifactKinds, @Nullable List<RemoteRepositoryDescription> repos, @Nullable String copyTo) { Collection<RemoteRepositoryDescription> effectiveRepos = selectRemoteRepositories(project, desc, repos); return submitBackgroundJob(newOrderRootResolveJob(desc, artifactKinds, effectiveRepos, copyTo)); }