public interface PluginDependenciesResolver
Modifier and Type | Method and Description |
---|---|
org.eclipse.aether.graph.DependencyNode |
resolve(Plugin plugin,
org.eclipse.aether.artifact.Artifact pluginArtifact,
org.eclipse.aether.graph.DependencyFilter dependencyFilter,
List<org.eclipse.aether.repository.RemoteRepository> repositories,
org.eclipse.aether.RepositorySystemSession session)
Resolves the runtime dependencies of the specified plugin.
|
org.eclipse.aether.artifact.Artifact |
resolve(Plugin plugin,
List<org.eclipse.aether.repository.RemoteRepository> repositories,
org.eclipse.aether.RepositorySystemSession session)
Resolves the main artifact of the specified plugin.
|
org.eclipse.aether.artifact.Artifact resolve(Plugin plugin, List<org.eclipse.aether.repository.RemoteRepository> repositories, org.eclipse.aether.RepositorySystemSession session) throws PluginResolutionException
plugin
- The plugin for which to resolve the main artifact, must not be null
.repositories
- The plugin repositories to use for resolving the plugin's main artifact, must not be null
.session
- The repository session to use for resolving the plugin's main artifact, must not be null
.null
.PluginResolutionException
- If the plugin artifact could not be resolved.org.eclipse.aether.graph.DependencyNode resolve(Plugin plugin, org.eclipse.aether.artifact.Artifact pluginArtifact, org.eclipse.aether.graph.DependencyFilter dependencyFilter, List<org.eclipse.aether.repository.RemoteRepository> repositories, org.eclipse.aether.RepositorySystemSession session) throws PluginResolutionException
plugin
- The plugin for which to resolve the dependencies, must not be null
.pluginArtifact
- The plugin's main artifact, may be null
.dependencyFilter
- A filter to exclude artifacts from resolution (but not collection), may be null
.repositories
- The plugin repositories to use for resolving the plugin artifacts, must not be null
.session
- The repository session to use for resolving the plugin artifacts, must not be null
.null
.PluginResolutionException
- If any dependency could not be resolved.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.