public class Resolver
extends java.lang.Object
| Constructor and Description |
|---|
Resolver(org.eclipse.aether.RepositorySystem system,
org.eclipse.aether.RepositorySystemSession session,
java.util.List<org.eclipse.aether.repository.RemoteRepository> repositories,
java.lang.String runtimeVersion) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.net.URL> |
resolve(java.util.Set<org.eclipse.aether.artifact.Artifact> artifacts)
Resolves the set of artifacts and returns their URLs.
|
org.eclipse.aether.artifact.Artifact |
resolveArtifact(org.eclipse.aether.artifact.Artifact artifact)
Resolves the root dependency to the local artifact.
|
java.util.Set<java.net.URL> |
resolveDependencies(java.util.Set<org.eclipse.aether.artifact.Artifact> artifacts)
Calculates dependencies based on the set of project artifacts.
|
java.util.Set<org.eclipse.aether.artifact.Artifact> |
resolveHostArtifacts(java.util.Set<org.eclipse.aether.artifact.Artifact> shared) |
java.util.Set<org.eclipse.aether.artifact.Artifact> |
resolveRuntimeArtifacts()
Resolves the modules needed to boot the plugin runtime based on the transitive dependencies of the main runtime module.
|
java.util.List<org.fabric3.api.host.contribution.ContributionSource> |
resolveRuntimeExtensions(java.util.Set<org.eclipse.aether.artifact.Artifact> extensions,
java.util.Set<org.eclipse.aether.artifact.Artifact> profiles) |
java.util.Set<org.eclipse.aether.artifact.Artifact> |
resolveTransitively(org.eclipse.aether.artifact.Artifact artifact)
Resolves the artifacts and its transitive dependencies.
|
public Resolver(org.eclipse.aether.RepositorySystem system,
org.eclipse.aether.RepositorySystemSession session,
java.util.List<org.eclipse.aether.repository.RemoteRepository> repositories,
java.lang.String runtimeVersion)
public java.util.Set<org.eclipse.aether.artifact.Artifact> resolveHostArtifacts(java.util.Set<org.eclipse.aether.artifact.Artifact> shared)
throws org.eclipse.aether.resolution.DependencyResolutionException
org.eclipse.aether.resolution.DependencyResolutionExceptionpublic java.util.Set<org.eclipse.aether.artifact.Artifact> resolveRuntimeArtifacts()
throws org.eclipse.aether.resolution.DependencyResolutionException
org.eclipse.aether.resolution.DependencyResolutionExceptionpublic java.util.List<org.fabric3.api.host.contribution.ContributionSource> resolveRuntimeExtensions(java.util.Set<org.eclipse.aether.artifact.Artifact> extensions,
java.util.Set<org.eclipse.aether.artifact.Artifact> profiles)
throws org.eclipse.aether.resolution.ArtifactResolutionException
org.eclipse.aether.resolution.ArtifactResolutionExceptionpublic java.util.Set<java.net.URL> resolveDependencies(java.util.Set<org.eclipse.aether.artifact.Artifact> artifacts)
throws org.eclipse.aether.resolution.DependencyResolutionException
artifacts - the set of host artifactsorg.eclipse.aether.resolution.DependencyResolutionExceptionpublic java.util.Set<java.net.URL> resolve(java.util.Set<org.eclipse.aether.artifact.Artifact> artifacts)
throws org.eclipse.aether.resolution.ArtifactResolutionException
artifacts - the artifactsorg.eclipse.aether.resolution.ArtifactResolutionExceptionpublic java.util.Set<org.eclipse.aether.artifact.Artifact> resolveTransitively(org.eclipse.aether.artifact.Artifact artifact)
throws org.eclipse.aether.resolution.DependencyResolutionException
artifact - the artifactorg.eclipse.aether.resolution.DependencyResolutionExceptionpublic org.eclipse.aether.artifact.Artifact resolveArtifact(org.eclipse.aether.artifact.Artifact artifact)
throws org.eclipse.aether.resolution.ArtifactResolutionException
org.eclipse.aether.resolution.ArtifactResolutionException - if unable to resolve any dependencies.